Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
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 Comment
Adam
Adam on 16 Mar 2017
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.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!