Suppress separate header file generation for Simulink functions

2 visualizaciones (últimos 30 días)
Waldemar Warkentin
Waldemar Warkentin el 17 de Jun. de 2021
Comentada: Yilin Cui el 19 de Jul. de 2021
Hello.
I use in export functions model several Simulink functions for get_xx() / set_xx() Interface.
I would like to have only 2 files at the end of the days, so I used Compact File packaging. However for each Simulink function a separate header file is generated. Is it possible to suppress separate header file generation of simulink functions and force code generator to include extern - declaration in the model header file?
Thanks.

Respuestas (1)

Yilin Cui
Yilin Cui el 16 de Jul. de 2021
Hi Waldemar,
To my best knowledge, I don't think there is anyway to put all function declarations in a single header file.
  2 comentarios
Waldemar Warkentin
Waldemar Warkentin el 18 de Jul. de 2021
Interestingly, this works when AUTOSAR.ert coder is used and file packaging is set to Compact???
Yilin Cui
Yilin Cui el 19 de Jul. de 2021
I am not familiar with AUTOSAR, let me check that and find out what is going on

Iniciar sesión para comentar.

Categorías

Más información sobre Simulink Coder en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by