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

조회 수: 7 (최근 30일)
Noah Kilps
Noah Kilps 2020년 10월 23일
댓글: Noah Kilps 2020년 10월 26일
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!!

채택된 답변

Cris LaPierre
Cris LaPierre 2020년 10월 23일
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by