Writing S-Functions | ![]() ![]() |
Set the period of a sample time.
C Syntax
Ada Syntax
Arguments
S
SimStruct representing an S-Function block.
st_index
Index of the sample time whose period is to be set.
period
Period of the sample time specified by st_index
.
Description
Use this macro in mdlInitializeSizes
to specify the period of the sample time where st_index
starts at 0.
Languages
See Also
ssSetInputPortSampleTime, ssSetOutputPortSampleTime, ssSetOffsetTime
![]() | ssSetRunTimeParamInfo | ssSetSFcnParamNotTunable | ![]() |