How can I change the default file type of the Save As command for a figure window in MATLAB 6.5 (R13)?
7 views (last 30 days)
Show older comments
I would like to change the default file type of the "Save As" dialog box to something other than a MATLAB FIG-file.
Accepted Answer
MathWorks Support Team
on 21 Jan 2010
The ability to specify the default file type of the Save As command is not available in MATLAB 6.5 (R13).
To work around this issue, a custom menu can be created using the UIMENU function as shown in the following code:
menuHandle = uimenu(gcf, 'label','Save As TIFF image', ...
'callback', 'saveas(gcf, uiputfile({''*.tif'' ''TIFF image (*.tif)''}, ''Save As''))');
Insert this code into the program that produces the figure window.
0 Comments
More Answers (0)
See Also
Categories
Find more on Printing and Saving in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!