Failed Code generation information file doesnt exist.
40 ビュー (過去 30 日間)
古いコメントを表示
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1758109/image.png)
1 件のコメント
Jatin
2024 年 8 月 22 日
In the below MATLAB Answer someone recommended removing spaces from the file path worked for them.
回答 (1 件)
Shubham
2024 年 8 月 26 日
Hi Fatih,
I was able to reproduce the issue. I noticed that it arises when the file path is too long or contains whitespace. To resolve this, ensure your file path is less than 260 characters, including drive letters and colons. This was a Windows 10 limitation, but you can extend it by following the steps outlined in this article:
If the error persists, you can also try the following workarounds:
- Set the workspace path to match your Simulink file location.
- Redo the 'Setup Hardware' from the 'Hardware Board' section in the Hardware tab.
- Enable "Generate Code only" or "Create Code Generation Report" as a workaround from "Code Generation" settings in "Configuration Parameters" of the model.
For further assistance, you may find these MATLAB Answers posts helpful:
- https://mathworks.com/matlabcentral/answers/1972544-slbuild-function-fails-due-to-code-generation-information-file-does-not-exists
- https://mathworks.com/matlabcentral/answers/1590659-code-generation-information-file-does-not-exist
- https://mathworks.com/matlabcentral/answers/857975-mplab-dspic-code-generation-information-file-does-not-exist
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Reporting and Database Access についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!