With Simulink Real-Time and Multi-Rate Subsystems, is there a way to set a "block execution finished" flag?

조회 수: 1 (최근 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개)

카테고리

Help CenterFile Exchange에서 Target Computer Setup에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by