Main Content

getCheckResult

Get Model Advisor check results

Description

For a Model Advisor object, use the results = getCheckResult(ma,checkID) function to get the results of running a check or set of checks.

This function enables you to access results generated by custom checks that you create using the Model Advisor customization API, an optional feature available with Simulink Check software. For more information, see Define Custom Model Advisor Checks (Simulink Check).

Input Arguments

collapse all

Simulink.ModelAdvisor object for which you want to obtain check results.

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

Example: 'mathworks.design.UnconnectedLinesPorts'

Output Arguments

collapse all

Cell array of check results. The result format depends on the check data.

Version History

Introduced in R2006a