User`s guide

Schedulers and Timing
Note Models in this section are for example purposes only. You cannot build
and run them without additional blocks.
Also, you can schedule multiple tasks for asynchronous execution using the
blocks.
The following gures show a model u pdated to use the asynchronous
scheduler by converting the model to a function subsystem and then adding
a scheduling block (Hardware Interrupt)todrivethefunctionsubsystemin
response to interrupts.
Before
The following model uses synchronous scheduling provided by the base rate
in the model.
Out 1
1
Soft Threshold
Dead Zone
Dyadic Synthesis
Filter Bank
2: Asym
Dyadic Analysis
Filter Bank
2: Asym
Delay Alignment
In1
In2
In3
In4
Out
1
Out
2
Out
3
Out
4
In1
1
Output
After
To convert to asynchronous operation, wrap the model in the previous gure
in a function block and drive the input from a Hardware Interrupt block. The
hardware interrupts that trigger the H ardwareInterruptblocktoactivatean
ISR now trigg ers the model inside the function block.
3-13