How do I close an open matlab app and still run the software?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I'm writing a program with the help of an app. But it's to much to put on 1 app so if you push a button another screen pops open (this worked already) and the current one closes. Can anyone help me with that? What I have is this:
function MeteoButtonPushed(app, event)
SiteOpslaan(app); (private function)
Meteo; (opens the new app)
close_Callback(handles); (SHOULD close the current one, but does not work)
end
I'm looking forward to your answers!
1 commentaire
Rik
le 21 Fév 2017
I bet this is because the call to MeteoButtonPushed is still being run, because the call to Meteo is still working (as it should, because it is the app you want to run).
You may be able to fix this by making a wrapper. That wrapper will open your current function and return a flag to the wrapper to either close entirely, or close your current app and start Meteo
I have no real suggestions for code, so I'm adding this as comment instead of an answer. I am also not entirely sure, so someone with more experience with GUIs would be welcome to check this.
Réponses (0)
Voir également
Catégories
En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!