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.

回答(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.

类别

帮助中心File Exchange 中查找有关 Simulink Coder 的更多信息

产品

版本

R2020a

回答:

2025-2-5

Community Treasure Hunt

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

Start Hunting!

Translated by