


PRINTMODEL - save an image of current figure
the format is the same as the one accepted by the builtin imwrite routine.
Usage:
printmodel(filename,format)

0001 function printmodel(filename,format) 0002 %PRINTMODEL - save an image of current figure 0003 % 0004 % the format is the same as the one accepted by the builtin imwrite routine. 0005 % 0006 % Usage: 0007 % printmodel(filename,format) 0008 0009 frame=getframe();image=frame2im(frame); 0010 imwrite(image,filename,format);