Writing S-Functions    
ssSetSFcnParamNotTunable

Make a block parameter untunable.

Syntax

Arguments
S
   SimStruct representing an S-function block.

index
   Index of parameter to be made untunable.

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.

Languages

C

See Also
ssSetSFcnParamTunable, ssGetSFcnParamsCount


 ssSetSampleTime ssSetSFcnParamTunable