How to make a standalone app have the ability to open .fig files?

7 views (last 30 days)
Hello,
I have created a standalone app that outputs and saves figures and keeps them visible to the user. The issue is that if I close these figures, the user will not be able to reopen the figures that were saved unless they reran the app. I'm wondering if there is a way to have a button in the app that allows them to open saved figures in the file explorer. I have done prior searching for answers so either I have not found an answer or I cannot understand it. Please help!!

Accepted Answer

Cris LaPierre
Cris LaPierre on 23 Oct 2020
You could add a button that uses uigetfile in the callback code to allow the user to select the fig file. The next line of the callback could use openfig along with the full path to the file obtained with uigetfile to open the figure.

More Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!