Simulink Arduino deployment error

3 次查看(过去 30 天)
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!

回答(1 个)

Manikanta Aditya
Manikanta Aditya 2023-4-28
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.

类别

Help CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by