Hardcopy is most easily obtained with the diary command. The
command
diary filenamecauses what appears subsequently on the screen (except graphics) to be written to the named diskfile (if the filename is omitted, it will be written to a default file named diary) until one gives the command diary off; the command diary on will cause writing to the file to resume, overwriting the contents of the file that you previously created. When finished, you can edit the file as desired and print it out on the local system. The !-feature will permit you to edit and print the file without leaving MATLAB. |