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 commentaire

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.

Réponses (0)

Cette question est clôturée.

Tags

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by