Documentation Center

  • Trial Software
  • Product Updates

addCheck

Class: ModelAdvisor.FactoryGroup
Package: 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 three checks to rec:

% --- sample factory group
rec = ModelAdvisor.FactoryGroup('com.mathworks.sample.factorygroup');
.
.
.
addCheck(rec, 'com.mathworks.sample.Check1');
addCheck(rec, 'com.mathworks.sample.Check2');
addCheck(rec, 'com.mathworks.sample.Check3');
Was this topic helpful?