You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Upon giving the number of floors as input, the elevator takes a random number of passengers and takes them up to a random floor between 2 and number of floors, before going down and picking up other passengers.
The code has extensive comments explaining how everything works.
Cite As
Husam Aldahiyat (2026). Graphical Simulation of an Elevator (https://www.mathworks.com/matlabcentral/fileexchange/23156-graphical-simulation-of-an-elevator), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Move Sphere
General Information
- Version 1.0.0.0 (7.73 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
