I have a Stateflow chart with the characters "%%" as a comment on a transition. When I generate code for this chart using Real-Time Workshop code generator, I do not receive any errors. But the generated code gives me incorrect results.
MATLAB: Does having a comment with “%%” in a chart in Stateflow result in incorrect code generation using Real-Time Workshop
*/%%codecodegencommmentcorruptrtwstateflowtlc
Related Question
- Do I receive an error when I build a model with a Model Reference block that contains a fixed point signal entering a Stateflow diagram
- In what library is the “rtInf” variable located under Real-Time Workshop
- Is the Stateflow Coder license erroneously checked out when I simulate a model with Stateflow charts using Stateflow 5.1.1 (R13SP1)
- What board support and device driver blocks are provided with Real-Time Workshop
- Does code generated from Stateflow Coder 4.1 (R12.1) sometimes lack a return statement for graphical functions
- Do I receive a ‘label redefined’ compile time error when building the Simulink 6.1 (R14SP1) model which contains Stateflow charts whose state functions are implemented as function call subsystems
Best Answer