Main Content

setInputParameters

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).

Input Arguments

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