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?
댓글 수: 0
답변 (1개)
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')
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Printing and Saving에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!