Saving a file in a folder
Afficher commentaires plus anciens
Hi;
How can I save a file in a folder with a .FIG and .PNG extension in Matlab?
Actually I want to save the file in a folder by writing a Matlab code.
Regards,
Réponses (2)
MD RAQUIBUZZAMAN
le 20 Fév 2019
0 votes
f=plot(x,y);
saveas(f,'name.fig')
or you can directly use
savefig('name.fig')
1 commentaire
SEVAL DONERTAS
le 20 Fév 2019
MD RAQUIBUZZAMAN
le 20 Fév 2019
0 votes
when you open the saved file, you need to use 'openfig' or open name.fig. It will load all the text and the legends.
1 commentaire
SEVAL DONERTAS
le 22 Fév 2019
Catégories
En savoir plus sur Printing and Saving dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!