Products & Services Solutions Academia Support User Community Company

Learn more about Simulink Verification and Validation   

setInputParameters - Class: ModelAdvisor.Check
Package: ModelAdvisor

Specify input parameters for check

Syntax

setInputParameters(check_obj, params)

Description

setInputParameters(check_obj, params) specifies ModelAdvisor.InputParameter objects (params) to be used as input parameters to a check (check_obj).

Inputs

check_obj

Instantiation of the ModelAdvisor.Check class

params

A cell array of ModelAdvisor.InputParameters objects

Examples

rec = ModelAdvisor.Check('com.mathworks.sample.Check1');
inputParam1 = ModelAdvisor.InputParameter;
inputParam2 = ModelAdvisor.InputParameter;
inputParam3 = ModelAdvisor.InputParameter;
setInputParameters(rec, {inputParam1,inputParam2,inputParam3});

See Also

Customizing the Model Advisor — Describes how to create custom checks
ModelAdvisor.InputParameter— Add input parameters to custom checks
  


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