error in task 6 of robotic vacuum stateflow

조회 수: 16 (최근 30일)
andre
andre 2024년 8월 24일
답변: Divyajyoti Nayak 2024년 8월 26일
says that the transition is not correct, but is the same as the solution

답변 (1개)

Divyajyoti Nayak
Divyajyoti Nayak 2024년 8월 26일
Hi @andre,
I understand that you are going through the ‘Stateflow Onramp’ course and facing this issue.
I went through this section of the course and found that your transition from ‘Vacuum’ state to ‘SeekDock’ state is incorrect as you have used the AND operator (&&) instead of the OR operator (||) for the transition condition.

카테고리

Help CenterFile Exchange에서 Complex Logic에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by