getCheckResult

Get Model Advisor check results

Description

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

This method 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 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.

Introduced in R2006a