Effacer les filtres
Effacer les filtres

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

14 vues (au cours des 30 derniers jours)
Noah Kilps
Noah Kilps le 23 Oct 2020
Commenté : Noah Kilps le 26 Oct 2020
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!!

Réponse acceptée

Cris LaPierre
Cris LaPierre le 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.

Plus de réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by