Main Content
sldiagviewer.reportError
Report error messages in Diagnostic Viewer
Syntax
Description
sldiagviewer.reportError(
reports the
diagnostic message as an error in the Diagnostic Viewer.Message
)
returns a output
= sldiagviewer.reportError(Message
)logical 1 (true)
when the diagnostic message reports
successfully in the Diagnostic Viewer. Otherwise, an error message is displayed in the
command window and no value is returned.
specifies the name of the component or product that generates the diagnostic message.output
= sldiagviewer.reportError(__,Component=ComponentNameValue
)
Examples
Input Arguments
Version History
Introduced in R2014a