reload code from embedded code generation
3 views (last 30 days)
Show older comments
Hi, I'm trying to generate the embedded code from embedded coder app and I encountered a problem below.

I don't want to build the code, thus I choose 'Reload code'
However, I don't understand what the meanings the reload code says.
0 Comments
Answers (1)
Aniket
on 5 Feb 2025
The error seems to indicate that MATLAB was unable to find the path to build folder.
The 'Reload Code' check for a build folder in the current MATLAB path. Kindly change your current directory in MATLAB to path where the model is saved and retry reloading code.
You may also use Model Explorer to do so as mentioned in this documentation: https://www.mathworks.com/help/ecoder/ug/reloading-generated-code.html
Also make sure you have read/write permissions for the current directory.
I hope this helps resolve the issue.
0 Comments
See Also
Categories
Find more on Simulink Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!