PmpParameter

param = PmpParameter(min, max, defaultValue, dataType, unit, description)

Create a PT.Parameter object with specified properties to declare tunable parameters.

PmpParameter inputs

Input

Description

min

Minimum value, enter an empty argument for default min value.

max

Maximum value, enter an empty argument for default max value.

defaultValue

Default value of the parameter. Optional, if empty a default value of 0 is applied.

dataType

Simulink datatype of the parameter, see Supported data types.

unit

String containing the unit of the parameter.

description

String containing the description of the parameter.

Output: PT.Parameter