Department of Chemical Engineering
MATLAB Tutorial
 

Creating Hardcopy from MATLAB                                                 (last updated 9/9/99)

This tutorial contains the following sections;

Introduction

Creating Hardcopy Using Microsoft WORD or WORDPAD

Creating Hardcopy Using Notepad

Printing Directly From MATLAB
 
======================================================================================

Introduction

Once you have solved a problem with MATLAB you may need to create an output document suitable for submission. The guidelines below are written for the computer lab, Stocker 049, but should be very close to what is needed on any system.

The output will typically involve some combination of information from the MATLAB workspace, m-files, or figures. There are three methods of creating output. They are listed here in decreasing order of desirability.

Be sure that your name, the date, the problem title, etc. are included on the document.
 
======================================================================================

Creating Hardcopy Using Microsoft WORD or WORDPAD

The machines in Stocker 049 have two word processors on them, Microsoft WORD and WORDPAD.

To create your output document in either program:

        (a) In the MATLAB figure box click on FILE / PREFERENCES / COPYING OPTIONS.
        (b) Click on the Windows Metafile format (it is probably already on).
        (c) Turn off the Honor figure size properties box.
      (d) Turn on the White Background  box.
      (e)  Click OK
        (f) Click on EDIT / COPY FIGURE.
      (g) Switch to the word processor document and paste where you want it. ======================================================================================

Creating HardcopyUsing the MATLAB Editor / Debugger

The MATLAB Editor / Debugger  is a  simple editor. You can accomplish most of the same steps as above, but there is no margin control, page breaks, etc. To use the Editor, do the following:

======================================================================================

Printing Directly From MATLAB

The third option is to print the workspace, the m-files and the figures directly using FILE PRINT. This is easily the least desirable choice, because you are extremely limited in your ability to organize the information.   Each file, figure, and workspace will print separately.