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 Center および File ExchangeDevelop 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