Stopping a Matlab code using a push button in appdesigner

2 ビュー (過去 30 日間)
Luis Ricardo Rivera Goitia
Luis Ricardo Rivera Goitia 2023 年 3 月 30 日
回答済み: Mario Malic 2023 年 3 月 30 日
I would like to know what is the code that I need to write down in appdesigner when using a push button to stop a matlab program previously run.

採用された回答

Mario Malic
Mario Malic 2023 年 3 月 30 日
Hello,
It depends on how your code is written, so I can't provide any code.
You can use a state button component. Your code has to check periodically the state of the button and stop the execution if its value is true.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by