Simulink Arduino deployment error

3 views (last 30 days)
Gellért Kovácsik
Gellért Kovácsik on 16 Apr 2023
Answered: Manikanta Aditya on 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!

Answers (1)

Manikanta Aditya
Manikanta Aditya on 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.

Categories

Find more on Arduino Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!