reload code from embedded code generation

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.

Answers (1)

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.

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products

Release

R2020a

Asked:

on 11 May 2020

Answered:

on 5 Feb 2025

Community Treasure Hunt

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

Start Hunting!