Error while uploading Simulink model to an external arduino mega 2560 hardware
Show older comments
When I tried to generate code and upload it on my arduino mega 2560 hardware, I got following error: "### Failed to generate all binary outputs" The detailed error message is with the file attached to this question. Please help me to solve this problem.
11 Comments
Sujit Muduli
on 5 Jan 2018
Hi Omkar,
In the error log, I could see that the file is being shadowed by a file of the same name higher on the MATLAB path. Could you please rename the file name then build it and see if this resolves the issue.
Omkar Bhanap
on 5 Jan 2018
Birdman
on 5 Jan 2018
Are you trying to build a Simscape model to Arduino?
Omkar Bhanap
on 5 Jan 2018
Birdman
on 5 Jan 2018
This line is interesting:
error: total size of local objects too large
Is your model too large?
Omkar Bhanap
on 5 Jan 2018
Birdman
on 5 Jan 2018
Can you share your model so that I can help you better?
Birdman
on 5 Jan 2018
??
Omkar Bhanap
on 5 Jan 2018
Birdman
on 6 Jan 2018
I could not look yet, I will look in following hours.
Omkar Bhanap
on 7 Jan 2018
Accepted Answer
More Answers (0)
Categories
Find more on Real-Time Deployment in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!