Visible property

Class: ModelAdvisor.Task
Package: ModelAdvisor

Indicate to display or hide task

Values

'true' (default) — Display task in the Model Advisor
'false' — Hide task

Description

The Visible property specifies whether the Model Advisor displays the task.

    Caution   When adding checks as tasks, you cannot specify both the task and check Visible properties, you must specify one or the other. If you specify both properties, the Model Advisor generates an error when the check Visible property is false.

Examples

MAT1 = ModelAdvisor.Task('com.mathworks.sample.TaskSample1');
MAT1.Visible ='false';
Was this topic helpful?