Parse_kcal.h file generated in build instead of x_Calibrations.h.

조회 수: 3 (최근 30일)
Aubrey
Aubrey 2024년 8월 9일
댓글: Aubrey 2024년 8월 30일
I am using a software to generate a2l and p2p from c generated code from Simulink.
The compilation is being broken by this error: X_Parse_kcal.h: No such file or directory.
This file exists in my directory. However, it is found that in previous builds, the kcal file was not generated. Instead X_calibrations.h was generated.
When I build, _calibrations.h is being deleted, _kcal.h is being generated.
Any ideas why? thank you.

채택된 답변

Pratyush
Pratyush 2024년 8월 13일
Hi Aubrey,
Here are some steps to diagnose and resolve the issue where X_Parse_kcal.h is not found, and _calibrations.h is being deleted while _kcal.h is generated:
  • Ensure Simulink build settings are consistent with previous builds.
  • Compare current and previous build scripts for differences.
  • Verify the directory containing X_Parse_kcal.h is in the compiler's include paths.
  • Look for file dependencies or rules in the build system affecting header file generation.
  • Review Simulink model settings related to code generation.
  • Check the commit history for changes affecting the build process.
  • Perform a clean build by deleting all generated and intermediate files.
  댓글 수: 1
Aubrey
Aubrey 2024년 8월 30일
There was a post processing script that required the model be in a specific location. thanks

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Build Configuration에 대해 자세히 알아보기

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by