Documentation Center

  • Trial Software
  • Product Updates

addProcedure

Class: ModelAdvisor.Group
Package: ModelAdvisor

Add procedure to folder

Syntax

addProcedure(group_obj, procedure_obj)

Description

addProcedure(group_obj, procedure_obj) adds a procedure, specified by procedure_obj, to the folder group_obj. group_obj is an instantiation of the ModelAdvisor.Group class.

Examples

Add three procedures to MAG.

MAG = ModelAdvisor.Group('com.mathworks.sample.GroupSample');

MAP1=ModelAdvisor.Procedure('com.mathworks.sample.procedure1');
MAP2=ModelAdvisor.Procedure('com.mathworks.sample.procedure2');
MAP3=ModelAdvisor.Procedure('com.mathworks.sample.procedure3');

addProcedure(MAG, MAP1);
addProcedure(MAG, MAP2);
addProcedure(MAG, MAP3);
Was this topic helpful?