Saving a file in a folder
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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,
0 Kommentare
Antworten (2)
MD RAQUIBUZZAMAN
am 20 Feb. 2019
f=plot(x,y);
saveas(f,'name.fig')
or you can directly use
savefig('name.fig')
MD RAQUIBUZZAMAN
am 20 Feb. 2019
when you open the saved file, you need to use 'openfig' or open name.fig. It will load all the text and the legends.
Siehe auch
Kategorien
Mehr zu Printing and Saving finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!