I have made a Stateflow diagram with two states. One of the transition is "after(d1,CLK)" d1 is a constant which is supposed to be declared outside Simulink, somehow included from a header file. That makes sense if you use "Real time workshop" to generate code. As it is now, every time I parse the chart I get "Unresolved symbols found" complaining about d1. I have seen it is possible to use constants outside Simulink. I just don't know how to do it. Can somebody help?
MATLAB: “Unresolved symbols found” at parsing. Symbols supposed to be included from a header file
constantsreal time workshopstateflow
Related Question
- Is the custom code include information not copied when copying a chart in Stateflow 7.0 (R2007b)
- Do I receive an “unresolved external symbol” error during the linking stage when I try to compile generated code from DSP Blockset blocks
- Is Simulink rebuilding Custom C code every time it is used in the model
- Incremental code generation
- Matrix of symbols
Best Answer