이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Displaying the necessary error alone

조회 수: 1(최근 30일)
Dimitris Arapidis
Dimitris Arapidis 2013년 9월 27일
마감: MATLAB Answer Bot 2021년 8월 20일
I have a callback function in a GUI. In this function there is a another function.
When i run my GUI i expect to get an error message when the user gives a wrong input. Instead i get the error along with a few other errors that happen because of the wrong inputs in the callback function. The error pops up in the function inside the callback and not the callback itself.
Is it possible to have this error message displayed alone and not the error messages that follow?


Daniel Shub
Daniel Shub 2013년 9월 27일
It really depends on what you are trying to do. I think you are probably looking for:
but since you are using callbacks you probably also need something like

Community Treasure Hunt

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

Start Hunting!

Translated by