ssGetParameterTuningCompliance
Get the sample time behavior and tunability for S-function blocks with port-based sample times
Syntax
logical ssGetParameterTuningCompliance(SimStruct *S)
Arguments
-
S
-
SimStruct representing an S-function block.
Description
Use this macro to specify sample time behavior for your S-function with port-based sample times. If this method returnsFalse
, the Simulink®engine does not allow a sample time ofInf
for this S-function. If this method returnsTrue
, the S-function block is tunable and its ports can have a sample time ofInf
. To set the sample time for ports in the S-function, usessSetOutputPortSampleTime
andssSetInputPortSampleTime
. These ports execute every time you tune any parameter in your model during simulation.
Languages
C, C++
See Also
Introduced in R2015b