Simulink Arduino deployment error

7 visualizzazioni (ultimi 30 giorni)
Gellért Kovácsik
Gellért Kovácsik il 16 Apr 2023
Risposto: Manikanta Aditya il 28 Apr 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!

Risposte (1)

Manikanta Aditya
Manikanta Aditya il 28 Apr 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.

Categorie

Scopri di più su Arduino Hardware in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by