Stopping a Matlab code using a push button in appdesigner

2 vues (au cours des 30 derniers jours)
Luis Ricardo Rivera Goitia
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.

Réponse acceptée

Mario Malic
Mario Malic le 30 Mar 2023
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.

Plus de réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by