Clear Filters
Clear Filters

Failed to generate binary outputs

1 view (last 30 days)
Christos Dimosthenous
Christos Dimosthenous on 29 Aug 2023
I keep using the same exact file names and folders. I am building the code succesfully over and over for weeks. Then one day I am getting this message. It has happened to me several times in the past. NO CHANGE IN THE FOLDER NAMES! Just changing parameters in the blocks... Out of nowhere this problem shows up again... How can I locate where the "problematic" binary outputs are coming from? I don't know where to look... I keep renaming folders for no reason...
  1 Comment
Steven Lord
Steven Lord on 29 Aug 2023
Then one day I am getting this message.
Please show us the full and exact text of the message you're receiving. Don't paraphrase, quote it verbatim.
Just changing parameters in the blocks...
Which parameters are you changing, which block or blocks' parameters are you changing, and what are the values of those parameters before and after you start receiving that message?

Sign in to comment.

Answers (1)

Christos Dimosthenous
Christos Dimosthenous on 10 Nov 2023
Hello Steven,
Let me give you the most recent example. I have generated a Simulink file that I keep downloading on a TI Launchpad just fine! There are no problems here. Now I remove all the TI Input and Ouput blocks. I replace the input blocks with Constants (0 value), and I replace all the output blocks with Terminators. I am rebuilding that code to the TI and it builds perfectly AGAIN! Now I am taking this exact same code and from the parameters I change target to build in an Arduino MEGA. So the ONLY difference now is the Hardware Board! I am trying to build that same exact code (NOTHING HAS CHANGED) and I get the error: "### Failed to generate all binary outputs." The SAME code, which has been intentionally created to be "board agnostic" since there are no board related I/Os, builds perfectly fine on TI, but doesn;t generate binary outputs on the Arduino MEGA. What is going on and how I can locate those "binary outputs" that are giving me the problem? I will be more than happy to send you the .slx file, error files and whatever else you need! How can I get some support on this? Thank you!

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!