getCheckResultData

Obtain Model Advisor check result data

Description

For a Model Advisor object, use the results = getCheckResultData(ma,checkID) method to get the check result data for a specified 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 result data.

Model Advisor Check IDs that you want to obtain results

Example: 'mathworks.design.UnconnectedLinesPorts'

Output Arguments

collapse all

Data from a check result or cell array of data from check results. The data format depends on the checks that generate the data.

Introduced in R2006a