| Writing S-Functions | ![]() |
Make a block parameter nontunable.
Syntax
Arguments
S
SimStruct representing an S-Function block.
index
Index of the parameter to be made nontunable.
Description
Use this macro in mdlInitializeSizes to specify that a parameter doesn't change during the simulation, where index starts at 0 and is less than ssGetSFcnParamsCount(S). This improves efficiency and provides error handling in the event that an attempt is made to change the parameter.
| Note This macro is obsolete. It is provided only for compatibility with S-functions created with earlier versions of Simulink. |
Languages
See Also
ssSetSFcnParamTunable, ssGetSFcnParamsCount
| ssSetSampleTime | ssSetSFcnParamTunable | ![]() |