Create a Pause Button

8 ビュー (過去 30 日間)
saiful irfan
saiful irfan 2015 年 7 月 5 日
コメント済み: saiful irfan 2015 年 7 月 6 日
I want to create a pause button for the loop
while
end
100 times, the script what should I use?
  2 件のコメント
Geoff Hayes
Geoff Hayes 2015 年 7 月 5 日
Saiful - please provide some context. Do you have a GUI that (perhaps) has a push button that calls some code that invokes a while loop? And do you have another button that when pressed should pause the while loop? Also, what do you mean by 100 times?
saiful irfan
saiful irfan 2015 年 7 月 6 日
while(vid.FramesAcquired<=100)
end
of the loop I want to create a pause button and stop? The loop I enter in the start button.

サインインしてコメントする。

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2015 年 7 月 5 日
Use pause function

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by