The stateflow which is working fine for 24 hours is attached and the same stateflow when the transition time is reduced to seconds is not producing the desired output
조회 수: 2 (최근 30일)
이전 댓글 표시
Attachements
- .slx file
- Question in picture form (1) Stateflow for 24hours (2) 24 hours results. working fine (3) same stateflow with time in seconds (4) results which is not correct (5) the results which i actually needed.
댓글 수: 0
답변 (1개)
Benjamin Thompson
2022년 2월 14일
The sample time on the fast stateflow chart is set to 360 seconds. So the first time it is allowed to update the Time has already exceeded 0.9 seconds, so it goes directly to the OffPeak state. To change it, at the top model where you have both stateflow chart blocks, right click on the block and go to the subsystem properties.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulink Functions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!