Main Content

diagnose

Class: matlab.automation.diagnostics.Diagnostic
Package: matlab.automation.diagnostics

Execute diagnostic action

Syntax

diagnose(diag)

Description

diagnose(diag) executes diagnostic action for the matlab.automation.diagnostics.Diagnostic instance, diag. The diagnose method is the means by which individual Diagnostic implementations can perform their respective diagnostic evaluations. Each concrete implementation is responsible for populating the DiagnosticText property of the Diagnostic object. Typically, text printed to the Command Window during diagnostic evaluation is not considered part of the diagnostic result and is ignored by the automation framework.

See Also