Main Content


Obtain Model Advisor check result data


For a Model Advisor object, use the results = getCheckResultData(ma,checkID) function to get the check result data for a specified set of checks. You set the check result data for a check by using setCheckResultData in the check callback function.

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 result data.

Model Advisor Check IDs that you want to obtain results

Example: ''

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.

Version History

Introduced in R2006a