Problem generating C2000 Block set code

5 visualizaciones (últimos 30 días)
Alfredo Rubio
Alfredo Rubio el 18 de Jul. de 2023
Respondida: Supraja el 27 de Jul. de 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.

Respuestas (1)

Supraja
Supraja el 27 de Jul. de 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.

Categorías

Más información sobre Simulink Coder en Help Center y File Exchange.

Productos


Versión

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by