I want to save figures from script. I have tried "savefig" and "saveas" but these commands don't work in R2011b. How can I solve this problem?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I want to save figures from script. I have tried "savefig" and "saveas" but these commands don't work in R2011b. How can I solve this problem?
0 commentaires
Réponses (1)
Azzi Abdelmalek
le 10 Août 2015
saveas works with Matlab 2011, maybe you are not using it correctly. Try this example
t=0:0.1:10
y=sin(t)
plot(t,y)
saveas(gcf,'filename.jpg')
0 commentaires
Voir également
Catégories
En savoir plus sur Printing and Saving dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!