Main Content

deselectCheck

Clear Model Advisor check

Description

For a Model Advisor object, use the output = deselectCheck(ma,checkID) function to clear a Model Advisor check. This function cannot clear disabled checks.

Input Arguments

collapse all

Simulink.ModelAdvisor object that you want to clear Model Advisor check(s).

Model Advisor Check IDs for which you want to clear from the Model Advisor.

Example: 'mathworks.design.UnconnectedLinesPorts'

Output Arguments

collapse all

A logical value indicating whether Simulink cleared the specified check. A value of 1 indicates success. A value of 0 indicates that Simulink was not able to clear the specified check.

Version History

Introduced in R2006a