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

조회 수: 8 (최근 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 CenterFile Exchange에서 Discrete-Event Simulation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by