- 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 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Sivsankar
2024-8-6
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Schedule Model Components 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!