Package: param
Continuous parameter
p = param.Continuous(paramname)
p = param.Continuous(paramname,paramvalue)
A continuous parameter is a numeric parameter that can take any value in a specified interval. The parameter can be scalar- or matrix-valued.
Typically, you use continuous parameters to create parametric models and to estimate or optimize tunable parameters in such models.
constructs a p
= param.Continuous(paramname
)param.Continuous
object
and assigns the specified parameter name to the Name
property
and default values to the remaining properties.
assigns
the specified parameter value to the p
= param.Continuous(paramname
,paramvalue
)Value
property.
sdo.getParameterFromModel
also
constructs a param.Continuous
object or an array
of param.Continuous
objects for Simulink® model
parameters.
|
Parameter name, specified as a character vector or string. For
example, |
|
Scalar or matrix numeric double |
|
Flag specifying whether the parameter is tunable or not. Set the The dimension of this property must match the dimension of the For matrix-valued parameters, you can:
Default: |
|
Structure array specifying parameter units and labels. The structure has The array dimension must match the dimension of the Use this property to store parameter units and labels that describe
the parameter. For example Default: |
|
Upper bound for the parameter value. The dimension of this property must match the dimension of the For matrix-valued parameters, you can:
Default: |
|
Lower bound for the parameter value. The dimension of this property must match the dimension of the For matrix-valued parameters, you can:
Default: |
|
Parameter name. This property is read-only and is set at object construction. Default: |
|
Scaling factor used to normalize the parameter value. The dimension of this property must match the dimension of the For matrix-valued parameters, you can:
Default: |
|
Scalar or matrix value of a parameter. The dimension of this property is set at object construction. Default: |
isreal | Determine if parameter value, minimum and maximum are real |
Value. To learn how value classes affect copy operations, see Copying Objects (MATLAB).