From: Roel on 27 May 2010 10:38 Hi all, I could not find the answer to this question browsing google and this forum. I want that my GUI gives an error msg (like errordlg) when there is an error in the underlying matlab callback script, e.g.: Pressing pushbutton_A e.g. results in a Matlab command window error: "??? Error while evaluating uicontrol Callback" Now my GUI does nothing but I want my GUI to then give a popup message that the entered values are incorrect. How to do this? Thanks Roel
From: us on 27 May 2010 10:45 "Roel " <r.a.massink(a)gmail.com> wrote in message <htm04c$km9$1(a)fred.mathworks.com>... > Hi all, > > I could not find the answer to this question browsing google and this forum. > > I want that my GUI gives an error msg (like errordlg) when there is an error in the underlying matlab callback script, e.g.: > > Pressing pushbutton_A e.g. results in a Matlab command window error: > > "??? Error while evaluating uicontrol Callback" > > Now my GUI does nothing but I want my GUI to then give a popup message that the entered values are incorrect. How to do this? > > Thanks > > Roel a hint: help try; help catch; us
From: Roel on 27 May 2010 11:00 Thanks, exactly what I needed :)
|
Pages: 1 Prev: Placing a Pop-up Menu in a cell inside a uitable Next: Resetting transfer functions |