MatLab - print from it

  1. Inside of MatLab, at the prompt >> type: diary .
  2. Below this, type whatever it is you would like to print.
  3. At the prompt on the last line, type: diary off
  4. The work you did in MatLab has been saved to a file called diary in your home directory.
  5. To print, give the command: lpr -Phpr1 (remember to substitute the correct printer name for hpr1)