I have included custom C-code into my Stateflow chart and entered the include information in 'Tools -> Open Simulation Target -> Custom Code'. After copying my chart to another model, the include fields are left blank and I have to manually enter the include information again, to avoid errors during simulation.
MATLAB: Is the custom code include information not copied when copying a chart in Stateflow 7.0 (R2007b)
c codecustomfieldsincludestateflow
Related Question
- How to incorporate the own C code into the Stateflow diagram
- How to use Legacy Code Tool to create a Simulink S-function block with multiple output ports in Simulink 7.0 (R2007b)
- How to determine the size of an annotation block in Simulink 7.0 (R2007b)
- How to pass a variable to a Stateflow chart without having to specify the size of the data parameter in Stateflow 6.3 (R14SP3)
- Do I receive errors when building the model containing custom code in a reusable function when using Real-Time Workshop 6.6 (R2007a)
- How to convert Stateflow model to Simulink model
- How to include a custom library in the generated code instead of the original library that Stateflow Coder includes
Best Answer