addCheck
Class: ModelAdvisor.FactoryGroup
Namespace: ModelAdvisor
Add check to folder
The ModelAdvisor.FactoryGroup
class and its associated methods and
properties are not recommended. Use the Model Advisor Configuration Editor or Advisor.Config
API to customize the Model Advisor configuration. For more
information, see Version History.
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');