Clear Filters
Clear Filters

Failed Code generation information file doesnt exist.

40 views (last 30 days)
fatih erkin
fatih erkin on 22 Aug 2024 at 16:46
Answered: Shubham on 26 Aug 2024 at 10:26

Answers (1)

Shubham
Shubham on 26 Aug 2024 at 10: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:

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!