The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Guidelines for GUI error handling
Replies: 2   Last Post: Feb 8, 2013 11:05 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 172
Registered: 11/27/06
Guidelines for GUI error handling
Posted: Oct 18, 2012 8:26 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi all,
Is there guidance out there on how to best implement error handling in
a guide-based GUI? I have a number of primary function that implement
a try/catch and simply return the lasterror structure on failure.
Back to the GUI, I insert the guidata but now what? I don't really
want to put an active error check in each callback as I want something
more implicit (that can be set to catch a failure of objects on the
GUI as well). I can probably make something work in the primary call
to the GUI (varargou = myGui(varargin)) but before I spend time doing
that, I thought I'd check.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.