Block cannot cross a non-virtual subsystem boundary, since both blocks are part of the same discrete-event system.

3 ビュー (過去 30 日間)
Hi People, I'm getting a really big headache with SimEvents. Thing is I have two atomic subsystems in a library that I'm slowly building. When I create a new model ant I try to connect these two subsystems i get the following error:
The line connecting the 'Project1/Generator' block to the 'Project1/Node/Entity Queue' block cannot cross a non-virtual subsystem boundary, since both blocks are part of the same discrete-event system.
What is interesting is that it treats the Generator block as a block, however the other Block he is referring to the Queue that is inside the subsystem. Don't know exactly what to do.
Best Regards, Mathias

採用された回答

Swarooph
Swarooph 2016 年 10 月 17 日
I don't think it is allowed. From this documentation here, "The entire discrete-event subsystem, which includes all discrete-event blocks, must reside entirely within the atomic subsystem. You cannot route entities into, or out of, the atomic subsystem."

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDiscrete-Event Simulation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by