Programming Previous page   Next Page

Nested try-catch Blocks

You can also nest try-catch blocks, as shown here. You can use this to attempt to recover from an error caught in the first try section.


Previous page  Checking for Errors with try-catch Handling and Recovering from an Error Next page

© 1994-2005 The MathWorks, Inc.