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

0 개 추천

Use pause function

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

질문:

2015년 7월 5일

댓글:

2015년 7월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by