Clear Filters
Clear Filters

How to change a file format?

2 views (last 30 days)
J
J on 22 Feb 2015
Answered: Image Analyst on 22 Feb 2015
Could someone please tell me how to change the format of the attached file to jpg or png format? Thank you very much.

Answers (1)

Image Analyst
Image Analyst on 22 Feb 2015
It's an m-file. In Windows to capture the current window, such as an editor window containing your attached m-file, to the clipboard, type alt-PrintScreen. It's then in the clipboard and then you can paste it and save it in Photoshop or some other photo/paint program.
If your m-file creates a figure, then you can save the figure to a file with export_fig() http://www.mathworks.com/matlabcentral/fileexchange/23629-export-fig

Categories

Find more on Environment and Settings in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!