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

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?

Answers (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.

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products

Release

R2018a

Asked:

on 1 Jun 2018

Answered:

on 1 Jun 2018

Community Treasure Hunt

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

Start Hunting!