state machine for multiple elevators using app design
The elevator consists of two cabins working on the associated mode. The command from users is assigned to a cabin based on the optimal distance from the user's floor to cabin's current floor and direction of this cabin.
This can be extended to multiple cabins working simultaneously. Again, the timer function is 30Hz (0.033s) which 30 frames per second is supposed to be obtained for smooth visualization.
See the simpler version here: https://se.mathworks.com/matlabcentral/fileexchange/72626-simple-state-machine-for-elevator-using-app-designer
Citar como
Dustin Ho (2024). state machine for multiple elevators using app design (https://www.mathworks.com/matlabcentral/fileexchange/75394-state-machine-for-multiple-elevators-using-app-design), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.