How to Run an App Again without the Need to Close It Manually?

Imagine I have a simple app made in GUIDE which loads a file and does some analyses. When I want to load another file, I first have to close the figure manually to be sure that the app runs from the beginning again. If I forget to close the figure and load a file, it doesn’t work properly.
How can I programmatically run the app again without the need of manually close the current figure?

1 件のコメント

Adam
Adam 2017 年 3 月 16 日
Generally this would be up to you to ensure you reset things on loading a file.
e.g. have an reset( ) function that will reset the state of your GUI's underlying data.

回答 (0 件)

この質問は閉じられています。

タグ

質問済み:

2017 年 3 月 16 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by