College of Arts and Sciences

Department of Mathematics

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)
Department of Mathematics, PO Box 643113, Neill 103, Washington State University, Pullman WA 99164-3113 Phone: 509-335-3926 Fax: 509-335-1188 Contact Us