Main Content

Value property

Class: ModelAdvisor.Task
Namespace: ModelAdvisor

Status of task

Values

true — Initial status of task is enabled
false — Initial status of task is disabled

Description

The Value property indicates the initial status of a task—whether it is enabled or disabled.

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

Examples

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