Clear Filters
Clear Filters

error in task 6 of robotic vacuum stateflow

12 views (last 30 days)
andre
andre on 24 Aug 2024
Answered: Divyajyoti Nayak on 26 Aug 2024
says that the transition is not correct, but is the same as the solution

Answers (1)

Divyajyoti Nayak
Divyajyoti Nayak on 26 Aug 2024
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.

Categories

Find more on Complex Logic in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!