이 제출물을 팔로우합니다
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다
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).
인용 양식
Dustin Ho (2026). Simple State Machine for Elevator using app designer (https://kr.mathworks.com/matlabcentral/fileexchange/72626-simple-state-machine-for-elevator-using-app-designer), MATLAB Central File Exchange. 검색 날짜: .
