MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1

C1 = robust_combine(8,4)
C2 = robust_combine(4,8)


C1 =


70


C2 =


70


Optionally, you can capture more information about errors if a variable follows your
catch statement:


catch MExc


MExc is an MException class object that contains more information about the thrown
error. To learn more about accessing information from MException objects, see
“Exception Handling in a MATLAB Application” on page 26-2.


See Also


MException | onCleanup


See Also
Free download pdf