Effacer les filtres
Effacer les filtres

Switch depending on the end of a line (Simevents)

2 vues (au cours des 30 derniers jours)
Salim ADDOUN
Salim ADDOUN le 9 Juin 2021
Commenté : Salim ADDOUN le 16 Juin 2021
Hello Mathworks Community,
I want to create a model (Simevents) that simulates events from different entities. However, all these events are on the same line and I want search how to put a switch (or an other idea) which can let one event go only if the previous event has finished.
I show you the beginning of my model, I tried a method but it does not work. Indeed, the "Composite Entity Creator" does not act like I want. It lets go the 2 events at the same time, not separately.
If someone has some ideas, I would be happy to listen to him.
Thank you,
Salim

Réponses (1)

Jean-Paul Marcade
Jean-Paul Marcade le 14 Juin 2021
Hi Salim,
I'm not sure to understand the expected behavior but if you don't find what you are looking for in the SimEvents library, you can create custom blocks in MATLAB : https://www.mathworks.com/help/simevents/ug/create-custom-blocks-using-matlab-discrete-event-system-block.html
  1 commentaire
Salim ADDOUN
Salim ADDOUN le 16 Juin 2021
Hello,
Thank you, I will check this method.

Connectez-vous pour commenter.

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