Main Content

addCheck

Class: ModelAdvisor.FactoryGroup
Namespace: ModelAdvisor

Add check to folder

Syntax

addCheck(fg_obj, check_ID)

Description

addCheck(fg_obj, check_ID) adds checks, identified by check_ID, to the folder specified by fg_obj, which is an instantiation of the ModelAdvisor.FactoryGroup class.

Examples

Add four checks to rec:

% --- sample factory group
rec = ModelAdvisor.FactoryGroup('com.mathworks.sample.factorygroup');
.
.
.
addCheck(rec, 'com.mathworks.sample.Check0');
addCheck(rec, 'com.mathworks.sample.Check1');
addCheck(rec, 'com.mathworks.sample.Check2');
addCheck(rec, 'com.mathworks.sample.Check3');