Obtain Model Advisor check result status
status = getCheckResultStatus(ma,checkID)
After running a set of checks, use the status = getCheckResultStatus(ma,checkID) method to determine whether these checks passed or failed.
status
ma
checkID
collapse all
Simulink.ModelAdvisor
Simulink.ModelAdvisor object for which you want to determine whether a check or set of checks passed or failed.
character vector
cell array of character vectors
Model Advisor Check IDs for which you want to obtain results.
Example: 'mathworks.design.UnconnectedLinesPorts'
Boolean
Boolean value or cell array of Boolean values indicating the pass or fail status of a check or set of checks.