| Writing S-Functions | ![]() |
Make a block parameter untunable.
Syntax
void ssSetSFcnParamNotTunable(SimStruct *S, int_T index)
Arguments
S
SimStruct representing an S-function block.
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 will improve efficiency and provide 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 | ![]() |