Skip to content

Instantly share code, notes, and snippets.

@icaoberg
Created October 24, 2012 21:03
Show Gist options
  • Save icaoberg/3948864 to your computer and use it in GitHub Desktop.
Save icaoberg/3948864 to your computer and use it in GitHub Desktop.
Change the results from profiler to web
cp /opt/matlab/amd64_f7/7.10/lib/matlab7/toolbox/matlab/codetools/private/*.gif .
sed -i 's/file:\/\/\/\/opt\/matlab\/amd64_f7\/7.10\/lib\/matlab7\/toolbox\/matlab\/codetools\/private\///g' *.html
sed -i 's/file:\/\/\/\/opt\/matlab\/7.13\/toolbox\/matlab\/codetools\/private\///g' *.html
sed -i 's/file0.html/index.html/g' *.html
mv file0.html index.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment