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 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