addTask

Class: ModelAdvisor.Group
Package: ModelAdvisor

Add task to folder

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 MAG.

MAG = ModelAdvisor.Group('com.mathworks.sample.GroupSample');
addTask(MAG, MAT1);
addTask(MAG, MAT2);
addTask(MAG, MAT3);
Was this topic helpful?