Include of custom code in generated
2 views (last 30 days)
Show older comments
It is about including a custom code in the generated code using the Custom Code pane in the Model Configuration Parameters. As far as I know, the custom code will be inserted at the TOP of the header and source files generated for a model. In my case, the custom code must however be inserted at the BOTTOM since the custom code itself uses data types that are defined somewhere in the generated files.
Therefore, is there any way to force the inculsion to be done at the bottom rather than top of the generated?
0 Comments
Answers (1)
Fangjun Jiang
on 6 Aug 2020
Edited: Fangjun Jiang
on 6 Aug 2020
See Also
Categories
Find more on Simulink Coder in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!