Hardcopy is most easily obtained with the diary command. The command
diary {\it filename}
causes 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, etc. When finished, you can edit the file as desired
and print it out on the local system. The !-feature (see section 14) will
permit you to edit and print the file without leaving MATLAB.