MATLAB Answers

Arduino Due Simulink build error

5 views (last 30 days)
Tobias on 13 Oct 2015
Commented: Tobias on 3 Jan 2018
i have a problem to run a simulink model on an Arduino Due Board. As a first test, i only want a blinking led. I have installed the Arduino Hardware Support Package for Matlab and Simulink. But when i want to compile my model, i got the error message "Faild to generate all binary outputs". When i do the same for an Arduino Uno Board it runs fine. Do i have to do some special configurations für the Arduino Due? The Board Type under Tools-->RunOnTargetHardware i have changed. I'm using Matlab 2015b
kind regards Tobias


Show 1 older comment
Tobias on 14 Oct 2015
Thanks for the tip, but thats not the problem. The support package ist correct installd. I have it also tested on three different systems with every time the same error.
Madhu Govindarajan
Madhu Govindarajan on 15 Oct 2015
Have you contacted Technical Support with the MathWorks? It could be a bug and they can let you know if there are any known fixes.
Walter Roberson
Walter Roberson on 25 Dec 2017
Note for Due "DAC and CAN channels not currently supported." . If I recall correctly, some of the earlier releases were even more restricted for Due.

Sign in to comment.

Answers (1)

mohammad amin rostami
mohammad amin rostami on 25 Dec 2017
i'v got this problem to

  1 Comment

Tobias on 3 Jan 2018
I had contacted the Matlab Support. It was a bug in the version of the Support-Package i used. I think in later versions the bug were fixed. Maybe an update can fix your problem.

Sign in to comment.


Community Treasure Hunt

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

Start Hunting!