Problem generating C2000 Block set code

4 vues (au cours des 30 derniers jours)
Alfredo Rubio
Alfredo Rubio le 18 Juil 2023
Réponse apportée : Supraja le 27 Juil 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.

Réponses (1)

Supraja
Supraja le 27 Juil 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.

Catégories

En savoir plus sur Simulink Coder dans Help Center et File Exchange

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by