MATLAB Answers

How to fix the problem " Failed to generate all binary outputs " when deploying the simulink model to Arduino ?

2 views (last 30 days)
Omar Crypps
Omar Crypps on 15 Dec 2016
Commented: hamidreza heidary on 22 Jun 2017
I'm trying to use the Simulink hardware support package for Arduino with and an example given by Mathworks but when deploying the model to the Aduino Mega 2560, I get always the same error " Failed to generate all binary outputs " . This is the screen shot of my error.

  0 Comments

Sign in to comment.

Answers (1)

carlos valtierra
carlos valtierra on 28 Apr 2017
Hello friend I have the same problem. how i can to solve it ?

  1 Comment

hamidreza heidary
hamidreza heidary on 22 Jun 2017
hi ... i have a same problem. actually, i found that when i want to build a block s function form a example of the arduino software which needs to special libraries i get the error... i would be thankful if anyone helps me can set the path of header file although i replaced the files in current folder of the matlab.

Sign in to comment.

Sign in to answer this question.