フィルターのクリア

How do I close an open matlab app and still run the software?

4 ビュー (過去 30 日間)
Daan Decleer
Daan Decleer 2017 年 2 月 21 日
コメント済み: Rik 2017 年 2 月 21 日
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 件のコメント
Rik
Rik 2017 年 2 月 21 日
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.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by