How to define priority in Simulink

5 views (last 30 days)
Paolo Favero
Paolo Favero on 30 May 2017
Answered: Abel Babu on 2 Jun 2017
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

Answers (1)

Abel Babu
Abel Babu on 2 Jun 2017

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!