- Ensure that the parameter Ensure data integrity during data transfer is selected in the Rate Transition block.
- You can attach a scope to the signal with the output from the first subsystem to verify if it triggers upon input and is working as expected. You can also add a scope to the input signal of the second subsystem to ensure that it is receiving the expected data.
- You can see the execution order of the blocks by going to the information overlays section in the debug tab. See if it is the desired order of execution.
- Keep in mind that the execution order is such that the first subsystem completes before the second one starts.
Simulink Event Scheduler Help: Sequential Aperiodic Partitions
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi,
I'm struggling to manage two cascading subsystems which are both aperiodic partitions. The first subsystem is triggered by the input write event. I want the second subsystem to trigger immediately after (once the output from the first is available.) They are separate partitions. Simulink diagnostics forced me to insert this rate transfer block which I don't entirely understand. The simulation currently runs but the outputs from the second subsystem are empty. Help?
0 comentarios
Respuestas (1)
Sivsankar
el 6 de Ag. de 2024
Hi Brandon,
I understand that you are having difficulty in capturing what the Rate Transition block does. The Rate Transition block transfers data from the output of a block operating at one rate to the input of a block operating at a different rate. Essentially blocks operating at different sample time. You can leverage the documentation on Rate Transition blocks as follows:
Since you have not shared your model, I could suggest some troubleshooting methods that may help you:
Hope any of these workarounds may help.
Thanks .
0 comentarios
Ver también
Categorías
Más información sobre Schedule Model Components en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!