Writing S-Functions | ![]() ![]() |
Register all tunable parameters as run-time parameters.
Syntax
Arguments
S
SimStruct representing an S-Function block.
names
Array of names for the run-time parameters.
Description
Use this function in mdlSetWorkWidths
to register all tunable dialog parameters as run-time parameters. Specify the names of the run-time versions of the parameters in the names
array.
Note
Simulink assumes that the names array is always available. Therefore, you must allocate the names array in such a way that it persists throughout the simulation.
|
You can register dialog parameters individually as run-time parameters, using ssSetNumRunTimeParams
and ssSetRunTimeParamInfo
.
Languages
See Also
mdlSetWorkWidths, ssSetNumRunTimeParams, ssSetRunTimeParamInfo
![]() | ssRegDlgParamAsRunTimeParam | ssRegisterDataType | ![]() |