getInputParameters

Get Model Advisor check input parameters

Description

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

This method enables you to access custom checks that you create using Simulink® Check™. For more information, see Define Custom 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 method 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.

Introduced in R2006a