This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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, MAT8);
addTask(MAG, MAT1);
addTask(MAG, MAT2);
addTask(MAG, MAT3);