Introduction to MATLAB
How to save or print your work
- To save text of your MATLAB interactive session
-
>> diary filename all subsequent text appearing on screen will be copied to filename
-
>> diary off when done. The text in between are saved in filename.
-
>> help diary for additional detail
- To save graphical output to a file
-
>> print -dps filename saves current figure in postscript format to filename
-
>> print -djpeg filename saves current figure in jpeg format to filename
-
>> help print for additional options
- To print a hard copy of your graphical output
-
>> print -dps -Pcasps make hard copy of plot in postscript format to CAS Lab's B&W printer
-
>> help print for additional options
|
|
|