Main Content

Enable property

Class: ModelAdvisor.Task
Namespace: ModelAdvisor

Indicate if user can enable and disable task

Values

true (default)
false

Description

The Enable property specifies whether the user can enable or disable a task.

true (default)

Display the check box control for task

false

Hide the check box control for task

When adding checks as tasks, the Model Advisor uses the task Enable property instead of the check Enable property.

Examples

MAT1 = ModelAdvisor.Task('com.mathworks.sample.TaskSample1');
MAT1.Enable = false;