Breakout of a loop depending on msgbox
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi,
I would like to know how I can break out of a while loop when I click Ok on msgbox?
If it doesn't work, is there any alternative solutions. Please help me with it.
댓글 수: 0
답변 (1개)
Marco Wassmer
2018년 6월 8일
Hi,
I am going to point you towards the progressbar. It can be configured to have a Cancel Button that would stopp a for loop. see the Example "Update Wait Bar Message and Add Cancel Button"
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!