Problem generating C2000 Block set code

8 次查看(过去 30 天)
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.

回答(1 个)

Supraja
Supraja 2023-7-27
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.

Community Treasure Hunt

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

Start Hunting!

Translated by