How I store/save the window figure out from running some codes?

I run my code and I need to save the form containing the output like images or functions to open them without using MatLab.

Answers (3)

5 Comments

export_fig is very good for exporting to bitmap images, but it isn't very good at vector formats.
To print images there is no need of vector formats :) export_fig is very good at any image format, not only bitmap. It is specifically suited to save high quality images, for publications for instance.
Well it depends on your preferences. Vector formats are better for digital publications and presentations, in my opinion. And while automated methods such as export_fig are very comfortable, they can mess your images up once you use advanced figure formatting. I would definitely recommend export_fig, but ultimately, you are a lot more flexible if you learn to use Matlab's built-in functions (and when to use which ones) and create your own export tools that best suit your personal preferences. I have often found export_fig to not meet up to my expectations when it comes to vector graphics.
I got your point. But what I think is, Matlab exporting functions are not very handly.. export_fig is a sort of wrapping thing that makes everithing much easy.. That's why its popularity.
For more expert people, it's ok to dig into print() options, but for simple usage I found it corrupting even very simple plots.. That is the main issue why many "easy" users do not love using it.
What do you think?
Yeah, I guess that could be true :)

This question is closed.

Asked:

on 9 Oct 2016

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!