Stopping a Matlab code using a push button in appdesigner

2 次查看(过去 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 CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by