Main Content

getCheckResultStatus

Obtain Model Advisor check result status

Description

After running a set of checks, use the status = getCheckResultStatus(ma,checkID) function to determine whether these checks passed or failed.

Input Arguments

collapse all

Simulink.ModelAdvisor object for which you want to determine whether a check or set of checks passed or failed.

Model Advisor Check IDs for which you want to obtain results.

Example: 'mathworks.design.UnconnectedLinesPorts'

Output Arguments

collapse all

Boolean value or cell array of Boolean values indicating the pass or fail status of a check or set of checks.

Version History

Introduced in R2006a