matlab 状态机代码仿真
% Test the sf_lamp_logic chart object
% 1. Create the chart object and initialize the value of delay to 1.
L = sf_lamp_logic('delay',1);
pause(2)
% 2. Turn lamp on.
ON(L);
pause(2)
% 3. Switch to blinking mode.
BLINKING(L);
pause(2)
% 4. Set value o
原创
2021-06-21 23:43:31 ·
1070 阅读 ·
1 评论