Problem generating C2000 Block set code

5 visualizzazioni (ultimi 30 giorni)
Alfredo Rubio
Alfredo Rubio il 18 Lug 2023
Risposto: Supraja il 27 Lug 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.

Risposte (1)

Supraja
Supraja il 27 Lug 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.

Categorie

Scopri di più su Simulink Coder in Help Center e File Exchange

Prodotti


Release

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by