Main Content

getInputParameters

Get Model Advisor check input parameters

Description

Use the params = getInputParameters(ma,CheckID) function to get the input parameters for a Model Advisor check.

This function enables you to access custom checks that you create using Simulink® Check™. For more information, see Define Custom Model Advisor Checks (Simulink Check).

Input Arguments

collapse all

Simulink.ModelAdvisor object for which you determine the input parameters for specific Model Advisor check.

Model Advisor check ID for which to obtain its input parameters. If you use the function inside a check callback function, you can omit this argument.

Example: 'mathworks.design.UnconnectedLinesPorts'

Output Arguments

collapse all

Cell array that contains the ModelAdvisor.InputParameter objects for a Model Advisor check.

Version History

Introduced in R2006a