How to define priority in Simulink
5 views (last 30 days)
Show older comments
In a simevents model I have two signal that are contemporary, but I need that one change before the other otherwise the wrong order leads to a wrong action. How can I define a priority in the calculation action?
In detail I have a robot that move part form a server to another, the robot have to serve multiple server so it have to decide which movement do in function of the servers state, but its movement change the servers state. The problem is that the robot act before the change in the state. but the two action are simultaneous. I have introdeced delay but tham change the system and increase the simulation time.
Thanks
0 Comments
Answers (1)
Abel Babu
on 2 Jun 2017
Hi Paolo,
Also this MATLAB example regarding the same: https://in.mathworks.com/help/simevents/examples/using-entity-priority-to-sequence-departures.html
Abel
0 Comments
See Also
Categories
Find more on Discrete-Event Simulation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!