Using App Designer R2018a, how can I create a button that will save anything plotted on my UIAxes as a JPEG?

조회 수: 1 (최근 30일)
I am working on adding a button that will capture whatever I have plotted on my UIAxes, and save it to a .jpg file. In typical figures, there is a toolbar with a File,Save As option but the UIAxes lacks that toolbar. Is there a simple way to accomplish the same task in App Designer?

답변 (1개)

Ameer Hamza
Ameer Hamza 2018년 6월 1일
Although you can save normal figure using saveas(). But it appears that this feature is still not introduced for app designer. You can use a workaround as suggested in this answer.

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

태그

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by