image thumbnail

state machine for multiple elevators using app design

version 1.0.1 (101 KB) by Jack Du Ho
Graphically illustrate an elevator (consists of 6 floors and two cabins) using the state machine and MATLAB app designer


Updated 07 May 2020

View License

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:

Cite As

Jack Du Ho (2021). state machine for multiple elevators using app design (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!