MATLAB GUIの閉じるボタンについて
Show older comments
GUIで作成した画面で、元からある右上の赤い×ボタン(閉じるボタン)を押したらMATLABのすべての処理を中断する方法はありますか?
GUI画面は消えても処理は継続されます。
<処理の流れ>
①mファイル読み込ませる。
②GUI画面が出て入力をする。
③実行ボタン(自作)を押す。
④残りのmファイルが実行される。
②の時に×を押すと③以降は処理しないでコマンドウィンドウに「中止しました」と表示させる。
Accepted Answer
More Answers (0)
Categories
Find more on 起動と終了 in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!