Saving a file in a folder
조회 수: 1 (최근 30일)
이전 댓글 표시
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
답변 (2개)
MD RAQUIBUZZAMAN
2019년 2월 20일
f=plot(x,y);
saveas(f,'name.fig')
or you can directly use
savefig('name.fig')
MD RAQUIBUZZAMAN
2019년 2월 20일
when you open the saved file, you need to use 'openfig' or open name.fig. It will load all the text and the legends.
참고 항목
카테고리
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!