Simulink Arduino deployment error

3 visualizaciones (últimos 30 días)
Gellért Kovácsik
Gellért Kovácsik el 16 de Abr. de 2023
Respondida: Manikanta Aditya el 28 de Abr. de 2023
I'm trying to deploy my model to my arduino, but i get the following error message:
I'm only trying to deploy the model, before I move any forther in my project. Earlier I managed to simulate a quarter-car-model's movement with the servo.
Top model targets built: Model Action Rebuild Reason ================================================================= ACC2 Failed Code generation information file does not exist. 0 of 1 models built (0 models already up to date) Build duration: 0h 0m 5.159s
Error(s) encountered while building "ACC2"
Component:Simulink | Category:Model error
The summary doesn't elaborate any further, it only says it's a model error.
Thanks for the help!

Respuestas (1)

Manikanta Aditya
Manikanta Aditya el 28 de Abr. de 2023
Hi Gellert,
As per my understanding, you are trying to deploy a model to Arduino, and getting an error ‘Failed code generation information file does not exist’.
The error could be caused due to the length of path. Path might be too long for the model to execute.
You can check the following MATLAB Answer to resolve the error:
I hope this resolves the issue you were facing.

Categorías

Más información sobre Arduino Hardware en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by