필터 지우기
필터 지우기

default Transition Path Does Not Terminate in a State

조회 수: 55 (최근 30일)
Kyoungtak Kim
Kyoungtak Kim 2020년 2월 19일
답변: Muthukumar Ganesan 2022년 7월 22일
Hello.
I have a trouble when I adjusting the balancing logic from
Above is the flow chart I adjusting. Red dot and lines is the problem I got.
In this https://www.mathworks.com/help/stateflow/ug/stateflow-edit-time-checks.html pages show the cause and solution for that problem.
But I think I don't understand yet. What is the problem? It has no conditional event, and also I think it has one substate.
Thank you.

답변 (1개)

Muthukumar Ganesan
Muthukumar Ganesan 2022년 7월 22일
Hi,
There is a possibility for unreachable state because you have given conditions in all the exit transitions from the junction that is connected to a default transition. There is no stable state has been defined if all the transition conditions fail. It should be corrected.
If you think sortV(3) doesn't return other than '1', '2' and '3', then the condition at the 3rd transition should be removed.
If not, create another transition without a condition to avoid this error.
Thanks.

카테고리

Help CenterFile Exchange에서 Syntax for States and Transitions에 대해 자세히 알아보기

태그

제품


릴리스

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by