Main Content

deselectTask

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

Description

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

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 removed the checks for the specified task. A value of 1 indicates success. A value of 0 indicates that Simulink was not able to clear the checks for the specified task.

Version History

Introduced in R2006a