Hauptinhalt

MATLABException

About MATLABException

Use MATLABException to handle MATLAB® exceptions thrown by .NET interfaces

Errors are thrown during invocation of MATLAB function associated with a MATLAB Production Server™ request initiated by MWHttpClient.

MATLAB makes the following information available in case of an error:

  • MATLAB stack trace

  • Error ID

  • Error message

Derived from Exception

Members

Constructor

 public MATLABException(
        string, message
        string, identifier
        IList<MATLABStackFrame> stackList
 );

Creates an instance of MATLABException using MATLAB error message, error identifier, and a list of MATLABStackFrame, representing MATLAB stack trace associated with a MATLAB error.

Constructor Parameters

 string, message

 string, identifier

 IList<MATLABStackFrame> stackList

Public Instance Properties

 MATLABStackTrace

 Message

 MATLABIdentifier

 MATLABStackTraceString

Public Instance Methods

None

Requirements

Namespace

com.mathworks.mps.client

Assembly

MathWorks.MATLAB.ProductionServer.Client.dll

See Also

MATLABStackFrame