error in task 6 of robotic vacuum stateflow

16 次查看(过去 30 天)
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