Products & Services Solutions Academia Support User Community Company

Learn more about Simulink Verification and Validation   

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.

Example

Add three tasks to MAG.

MAG = ModelAdvisor.Group('com.mathworks.sample.GroupSample');
addTask(MAG, MAT1);
addTask(MAG, MAT2);
addTask(MAG, MAT3);
  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS