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

7 vues (au cours des 30 derniers jours)
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

Réponse acceptée

Swarooph
Swarooph le 17 Oct 2016
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."

Plus de réponses (0)

Catégories

En savoir plus sur Discrete-Event Simulation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by