addTask
Class: ModelAdvisor.Group
Namespace: ModelAdvisor
(Not recommended) Add task to folder
The ModelAdvisor.Group class and its associated
methods and properties are not recommended. Use the Model
Advisor Configuration Editor or Advisor.Config API to customize the Model
Advisor configuration. For more information, see Version History.
Syntax
addTask(group_obj, task_obj)
Description
addTask(group_obj, task_obj) adds a task,
specified by task_obj, to the folder
group_obj.
group_obj is an instantiation of
the ModelAdvisor.Group class.
Examples
Add three tasks to a ModelAdvisor.Group
MAG.
MAG = ModelAdvisor.Group('com.mathworks.sample.GroupSample');
addTask(MAG, MAT8);
addTask(MAG, MAT1);
addTask(MAG, MAT2);
addTask(MAG, MAT3);