フィルターのクリア

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

14 ビュー (過去 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.
  1 件のコメント
Noah Kilps
Noah Kilps 2020 年 10 月 26 日
This was very easy and simple. Thank you!!!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by