Simulink coder is attempting to create "shared header file" which is already used by Simulink in the model's local directory.
조회 수: 48 (최근 30일)
이전 댓글 표시
When I do the code generation for my simulink model 'ABC.slx', I got the error message:
Top model targets built:
Model Action Rebuild Reason ====================================================================
ABC Failed Code generation information file does not exist.
1 of 8 models built (6 models already up to date)
Build duration: 0h 1m 24.044s
Error: Simulink Coder is attempting to create shared header file 'xx.h' for data 'yy'; However, this file is already used by Simulink in the model's local directory.
To continue, rename the file for the data.
댓글 수: 0
답변 (1개)
Sarthak
2023년 8월 22일
Hi Sangmin Kim,
The error message “Code generation information file does not exist” typically occurs when Simulink Coder is unable to find the necessary code generation information file for a specific model. This can be when the path for the model to execute is too long or a different path is specified. As per my understanding, the issue should be resolved if the path is shortened.
Please go through this similar MATLAB Answer for your reference.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!