Identifying Errors



Hi all.
Is it possible to identify when an error has occured, supress the
error printing in the Matlab command window and display my own error
dialog?
I have a GUI that controls Simulink model parameters. In one edit box

I can put variables in, e.g.
j = 8.543
The 'eval' command is used to execute the string. If the strin is
entered incorrectly, e.g.
j = 8.54.3
an error appears in the MCW. I would like to stop this error printing

and instead display my own error dialog.
Any help greatly appreciated.
Thanks
Rob
.



Relevant Pages

  • Trapping errors
    ... Is it possible to identify when an error has occured, supress the ... error printing in the Matlab command window and display my own error ... and instead display my own error dialog. ...
    (comp.soft-sys.matlab)
  • Re: Identifying Errors
    ... Is it possible to identify when an error has occured, supress the ... error printing in the Matlab command window and display my own error ...
    (comp.soft-sys.matlab)
  • Re: escape characters - back up a line
    ... For messages displayed in the Matlab command window, ... For writing to a file, ... What I want to do is display a message, ... which would allow me to overwrite the last ...
    (comp.soft-sys.matlab)