% % Math 451 - 9/26/12 class % % Here's a way to save your MATLAB work in a neat report % in html, pdf, or as a doc file (perhaps). % See Pratap's book, p. 58 publishing reports snd follow the % example there. We also made a file on the error for the % trapezoidal rule. These are posted in the html folder on the % course webpage % % (Sorry, I forgot to turn off my diary and not everything was saved % from the session. But you should be able to just follow the procedure % in Pratap and the html files.) % % open new script file spiralplot.m publish('spiralplot','html') ans = /home/user33/Documents/MATLAB/451_delillo/html/spiralplot.html builtin('cd','/home/user33/Documents/MATLAB/451_delillo/html'); cd html open spiralplot.html uiopen('/home/user33/Documents/MATLAB/451_delillo/spiralplot.m', true); publish('spiralplot','html') ans = /home/user33/Documents/MATLAB/451_delillo/html/spiralplot.html open spiralplot.html {??? Error using ==> open at 99 File 'spiralplot.html' not found. } cd html open spiralplot.html uiopen('/home/user33/Documents/MATLAB/451_delillo/trap_td.m', true);