error in task 6 of robotic vacuum stateflow

16 visualizaciones (últimos 30 días)
andre
andre el 24 de Ag. de 2024
Respondida: Divyajyoti Nayak el 26 de Ag. de 2024
says that the transition is not correct, but is the same as the solution

Respuestas (1)

Divyajyoti Nayak
Divyajyoti Nayak el 26 de Ag. de 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.

Categorías

Más información sobre Complex Logic en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by