Suppress separate header file generation for Simulink functions

조회 수: 5 (최근 30일)
Waldemar Warkentin
Waldemar Warkentin 2021년 6월 17일
댓글: Yilin Cui 2021년 7월 19일
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.

답변 (1개)

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

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by