フィルターのクリア

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?

1 回表示 (過去 30 日間)
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?

回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2015 年 8 月 10 日
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')

カテゴリ

Help Center および File ExchangePrinting and Saving についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by