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

7 visualizaciones (últimos 30 días)
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

Respuesta aceptada

Swarooph
Swarooph el 17 de Oct. de 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."

Más respuestas (0)

Categorías

Más información sobre Discrete-Event Simulation en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by