With Simulink Real-Time and Multi-Rate Subsystems, is there a way to set a "block execution finished" flag?
2 次查看(过去 30 天)
显示 更早的评论
I have a multi-rate simulink real-time model with data dependency. I'm trying to figure out a good way to notifiy blocks when data is ready because there are times when the computation required for a subsystem is not as demanding and data will be ready sooner. And then there are times when data may take too long and I want the next subsystem to know it wasn't ready, (CPU overloads are disabled). So is there a good way to set some sort of "subsystem execution done" flag that would happen at the end of a subsystem execution and then reset on the next model cycle?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Target Computer Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!