Hi guys, I'd like to show a GUI in which the user can select "yes" or "not" to reply to the answer "Do yo want to plot the 3D trajectory?". So, based on the answer, the part of code after the question is exectuded or not.
Is it possible? If yes, how?
Thanks in advance!

 채택된 답변

Matt J
Matt J 2021년 6월 20일
편집: Matt J 2021년 6월 20일
For example,
if inputdlg('Proceed? [Y/N]')=="N"
break
end
There is also uiconfirm,

추가 답변 (0개)

카테고리

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

제품

릴리스

R2021a

질문:

2021년 6월 20일

댓글:

2021년 6월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by