College of Natural Sciences
 
FAQs
This is for IE7 to hold div open

2.4.1. Can graphics be saved as files to be imported back into MATLAB for viewing and alteration?

Yes, in MATLAB version 4.2. A new print command device driver option allows you to save and reload a figure. The command

print -dmfile <filename>

creates two files, filename.m and filename.mat. The M-file contains the necessary object creation and set commands to reproduce the figure. The generated MAT-file also contains the figure data. Handle values are not maintained.