Main Content
diagnose
Class: matlab.automation.diagnostics.Diagnostic
Namespace: matlab.automation.diagnostics
Perform diagnostic actions
Syntax
Description
diagnose(
performs the actions of
the specified diagnostic when a diagnostic consumer, such as the unit testing framework,
calls the method to evaluate the diagnostic.diagnostic
)
Classes deriving from the Diagnostic
class must implement the
diagnose
method. When you implement this method for a custom diagnostic
class, set the DiagnosticText
property within the method to make
information available to consumers of the diagnostic.
Input Arguments
Examples
Version History
Introduced in R2013a