error in task 6 of robotic vacuum stateflow
20 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1759359/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1759364/image.png)
0 comentarios
Respuestas (2)
Divyajyoti Nayak
el 26 de Ag. de 2024
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.
0 comentarios
Srinivasan
el 13 de En. de 2025
Hello, I'm also facing the same issue even though, I used the OR (||) operator.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1823180/image.png)
1 comentario
Himanshu Dhande
el 12 de Feb. de 2025 a las 21:06
I faced the similar issue while completing this course. Check if the condition defined is [requestMode == 1 || complete == 1]. Make sure the brackets and the OR (||) are used/placed correctly.
Ver también
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!