Specify sample time behavior and tunability for S-function blocks with port-based sample times
void ssSetParameterTuningCompliance(SimStruct *S,logical Flag)
SimStruct representing an S-function block.
Logical value indicating whether to allow a sample time of
Inf for ports in the S-function.
Use this macro to specify sample time behavior for your S-function with port-based
sample times. If you set
Simulink® engine does not allow a sample time of
Inf for this
S-function. If you set
S-function block is tunable and its ports can have a sample time of
Inf. To set the sample time for ports in the S-Function, use
ports execute every time you tune any parameter in your model during