Products & Services Solutions Academia Support User Community Company

Learn more about Simulink Verification and Validation   

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');
  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS