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 an S-function with port-based sample times to operate in a triggered subsystem


Allows an S-function that uses port-based sample times to operate in a triggered subsystem. During sample time propagation, use the macro ssSampleAndOffsetAreTriggered to determine if the sample and offset times correspond to the block being in a triggered subsystem. If the block is triggered, all port sample times must be either triggered or constant. See Configuring Port-Based Sample Times for Use in Triggered Subsystems for more information.


See sfun_port_triggered.c, the source file for the sfcndemo_port_triggered example, for an example.

Introduced in R2007b

Was this topic helpful?