addGroup

Class: ModelAdvisor.Group
Package: ModelAdvisor

Add subfolder to folder

Syntax

addGroup(group_obj, child_obj)

Description

addGroup(group_obj, child_obj) adds a new subfolder, identified by child_obj, to the folder specified by group_obj, which is an instantiation of the ModelAdvisor.Group class.

Examples

Add three checks to rec:

group_obj = ModelAdvisor.Group('com.mathworks.sample.group');
.
.
.
addGroup(group_obj, 'com.mathworks.sample.subgroup1');
addGroup(group_obj, 'com.mathworks.sample.subgroup2');
addGroup(group_obj, 'com.mathworks.sample.subgroup3');
Was this topic helpful?