Main Content


Clear Model Advisor checks that belong to a specified task or set of tasks


For a Model Advisor object, use the output = deselectCheckForTask(ma,task) method to clear all selected Model Advisor checks for one or more tasks. To locate the task name, use the getTaskAll method.

Input Arguments

collapse all

Simulink.ModelAdvisor object for which you want to clear all selected Model Advisor checks for a task or tasks

Name of task or tasks that contain selected Model Advisor checks that you want to clear.

Output Arguments

collapse all

A logical value indicating whether Simulink cleared the checks for the specified group. A value of 1 indicates success. A value of 0 indicates that Simulink did not clear the specified checks.

Introduced in R2006a