Documentation Center

  • Trial Software
  • Product Updates

SS_OPTION_ALLOW_PORT_SAMPLE_TIME_IN_TRIGSS

Allow an S-function with port-based sample times to operate in a triggered subsystem

Description

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.

Example

See sfun_port_triggered.csfun_port_triggered.c, the source file for the sfcndemo_port_triggeredsfcndemo_port_triggered example, for an example.

Was this topic helpful?