How to define priority in Simulink
显示 更早的评论
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
回答(1 个)
Abel Babu
2017-6-2
0 个投票
Hi Paolo,
Also this MATLAB example regarding the same: https://in.mathworks.com/help/simevents/examples/using-entity-priority-to-sequence-departures.html
Abel
类别
在 帮助中心 和 File Exchange 中查找有关 Discrete-Event Simulation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!