Stateflow Onramp Task 4: Transition from Off to On marked incorrect despite matching solution
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens

I'm working on Stateflow Onramp > Creating State Charts > Default Transitions and Unreachable States (Task 4). The task asks to:
Add a transition from Off to On.
I added the transition exactly as shown in the solution — from the edge of the Off state to the edge of the On state. The chart visually matches the solution, and there's a default transition to Off.
However, after clicking Submit, I still get the message:
Sorry, that answer is incorrect. Please review the requirements on the right side.
There are no conditions or events on the transition (as per the example), and both states are reachable, as both get highlighted during the run.
What could I be missing? Is there a hidden requirement not shown in the visual solution?
Thanks in advance!
0 commentaires
Réponses (1)
Jacob Mathew
le 28 Juil 2025
Hey Vibha,
I and others in this MATLAB Answers Post too https://www.mathworks.com/matlabcentral/answers/2002487-stateflow-onramp-unreachable-state-task-4-error are also facing the same issue in MATLAB R2023b.
I then tried it out in MATLAB R2024a and it works without issue. I think you will need to update to MATLAB R2024a or later to get around this roadblock.
Voir également
Catégories
En savoir plus sur Simulink Functions dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!