| Using Stateflow | Search  Help Desk |
Code Generation Error Messages
Typical code generation error messages include:Failed to create file: modelName_sfun.c"
The code generator does not have permission to generate files in the current directory.
Another unconditional transition of higher priority shadows transition # xx"
More than one unconditional inner, default, or outer transition originates from the same source.
Default transition cannot end on a state that is not a substate of the originating state."
A transition path starting from a default transition segment in one state completes at a destination state that is not a substate of the original state.
Input data xxx on left hand side of an expression in yyy"
A Stateflow expression assigns a value to an Input from Simulink data object. By definition, Stateflow cannot change the value of a Simulink input.