Azzera filtri
Azzera filtri

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

14 visualizzazioni (ultimi 30 giorni)
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!!

Risposta accettata

Cris LaPierre
Cris LaPierre il 23 Ott 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.

Più risposte (0)

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by