MATLAB Answers

Breakout of a loop depending on msgbox

조회 수: 4(최근 30일)
Melwin Thomas
Melwin Thomas 8 Jun 2018
답변: Marco Wassmer 8 Jun 2018
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

로그인 to comment.

답변(1개)

Marco Wassmer
Marco Wassmer 8 Jun 2018
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

로그인 to comment.

이 질문에 답변하려면 로그인을(를) 수행하십시오.

태그


Translated by