This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Allow a sample time of Inf for a port


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.


See sfun_port_constant.c, the source file for the sfcndemo_port_constant example, for an example.

Introduced in R2007b

Was this topic helpful?