Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
The elevator consists of four floors which can be easily extended into 5, 6, or so on. It basically executes based on five different states in a simple state machine:
+ Idle: resting state. From that, the elevator can go up, down, door and emergency states. Two main conditions for the transitions between those states are: the door is opening/not opening and the elevator is moving/not moving.
+ The run main function is a timer function where the period is 0.03s (assuming that 30 frames/second is obtained for the smoothly moving objects, it can be slightly varied depends on the power of the computer).
+ The request of the floor can not be updated when the elevator is in Idle state and the pressing button is related to the current floor (cabin floor).
Citation pour cette source
Dustin Ho (2026). Simple State Machine for Elevator using app designer (https://fr.mathworks.com/matlabcentral/fileexchange/72626-simple-state-machine-for-elevator-using-app-designer), MATLAB Central File Exchange. Extrait(e) le .
Informations générales
- Version 1.2.0 (63,6 ko)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.2.0 | Update Enable/Disable button and change its color based on the current request in the queue. |
||
| 1.1.1 | Update description |
||
| 1.1.0 | Update queue handle |
||
| 1.0.1 | Modify lamps |
||
| 1.0.0 |
