Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
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 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by