SS_OPTION_ALLOW_CONSTANT_PORT_SAMPLE_TIME
Allow a sample time of Inf
for a port
Description
Allows an S-function with port-based sample times to specify
or inherit a sample time of Inf
. This setting allows
the port to have a constant value, and tells the Simulink® engine
that all input and output ports support a sample time of Inf
.
See Specifying Constant Sample Time (Inf) for a Port for more information.
Example
See sfun_port_constant.c
,
the source file for the sfcndemo_port_constant
example,
for an example.
Version History
Introduced in R2007b