Breakout of a loop depending on msgbox

조회 수: 3 (최근 30일)
Melwin Thomas
Melwin Thomas 2018년 6월 8일
답변: Marco Wassmer 2018년 6월 8일
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일
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"

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by