How can I stop the pushbutton of guide being pressed until the callback function is executed completely ?
1 回表示 (過去 30 日間)
古いコメントを表示
Mahesh Babu Dhanekula
2020 年 10 月 20 日
回答済み: Walter Roberson
2020 年 10 月 20 日
I just want to know is there anyway to prevent the pushbutton of guide being pressed until the execution of the callback function is completed. I need the pushbutton to be pressed only once not even twice or so. If there are any methods please let me know.
0 件のコメント
採用された回答
Walter Roberson
2020 年 10 月 20 日
Set the Interruptible property to off.
This will, though, prevent even timer interrupts if I understand correctly. The facility is intended more for critical sections rather than preventing the same button being pressed. The better approach is to have the callback set the Enable property to 'disable' during execution and change it back at the end of the function.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Migrate GUIDE Apps についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!