Clear Filters
Clear Filters

Problem generating C2000 Block set code

5 views (last 30 days)
Alfredo Rubio
Alfredo Rubio on 18 Jul 2023
Answered: Supraja on 27 Jul 2023
I'm building the
Example after trying to buil a similar proyect from scrach. I all the cases I'm getting the following error:
Model Action Rebuild Reason =======================================================================
TestBlinkII Failed Code generation information file does not exist.
0 of 1 models built (0 models already up to date) Build duration: 0h 0m 8.4705s
The path '' does not exist.
Caused by:
  • The path does not exist, error code: 0
How can I fix this problem?
I'm using R2022B but web page doesn't allow me to select it on the version menu
Thanks you in advance.

Answers (1)

Supraja
Supraja on 27 Jul 2023
Check for code generation settings and ensure that the target language, target hardware and other code generation settings are set correctly. You can access these parameters from “coder.config”.
The detailed documentation link is given here: https://www.mathworks.com/help/coder/ref/coder.config.html?searchHighlight=coder.config&s_tid=srchtitle_support_results_1_coder.config
You can check for any dependencies of your code on other MATLAB files or functions and ensure that all the files are set in the correct path.

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!