I'm developing an embedded system in MATLAB Simulink which contains some Stateflow charts. I successfully generate correct C-code out of it. Unfortunately, building the model throws up some warnings. One of them is:
Warning: Junction #395 does not have an unconditional path
to a state or a terminal junction AND it has multiple paths
leading to it. This might lead to confusing run-time behavior
because of the backtracking semantics of Stateflow.
This warning has no other link or information how to find that junction inside my model than its number. The model is quite big, so searching manually is not very handy. I also couldn't find it in the model explorer by using the filter to only display junctions and then looking at the IDs.
Is there a way to find/highlight that junction by its number? Or is there another way to debug that warning?
>> sObj = sfroot;
>> myObj = sObj.find('Id',1277);
The weird thing is that the numbers change each time I start a rtwbuild...
Thanks for your help!