Breakout of a loop depending on msgbox

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.

답변 (1개)

Marco Wassmer
Marco Wassmer 2018년 6월 8일

0 개 추천

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"

카테고리

도움말 센터File Exchange에서 Debugging and Improving Code에 대해 자세히 알아보기

태그

질문:

2018년 6월 8일

답변:

2018년 6월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by