Saving a file in a folder
Mostra commenti meno recenti
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,
Risposte (2)
MD RAQUIBUZZAMAN
il 20 Feb 2019
0 voti
f=plot(x,y);
saveas(f,'name.fig')
or you can directly use
savefig('name.fig')
1 Commento
SEVAL DONERTAS
il 20 Feb 2019
MD RAQUIBUZZAMAN
il 20 Feb 2019
0 voti
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 Commento
SEVAL DONERTAS
il 22 Feb 2019
Categorie
Scopri di più su Printing and Saving in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!