Embedded Coder generated .zip file problem
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Furkan Bayrak
el 26 de Sept. de 2019
Respondida: Jonas
el 6 de En. de 2020
Hello,
When i generated code with Embedded Coder, generated zip file has a folder named R2018b.
This folder includes 3 folders(extern, rtw and simulink).
Inside these folders, they are some header files.
I noticed that these header files are in the following matlabroots.
MATLABROOT\simulink\include
MATLABROOT\rtw\c\src
MATLABROOT\extern\include
Why these header files are added to the generated zip file? I don't need those header files.
Thanks for help.
0 comentarios
Respuesta aceptada
Jonas
el 6 de En. de 2020
The feature to generate a .zip package is in fact using the command 'packngo'. You could investigate that command in more detail. Maybe you should check the answer to this question: https://nl.mathworks.com/matlabcentral/answers/452312-package-generated-code-with-the-minimal-set-of-files-necessary-for-compilation-using-packngo
0 comentarios
Más respuestas (1)
Denis Gurchenkov
el 26 de Sept. de 2019
These header files contain various type definitions, macros, constants and functions that are used by the generated C/C++ code. In your model, they may be unused, but if you use Embedded Coder on a more complicated example (using various blocks and algorithms) you will see the generated code becomes more complicated and starts using those header files.
0 comentarios
Ver también
Categorías
Más información sobre Simulink Coder en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!