### Failed to generate all binary outputs. any solution??

hello, I'm using arduino and simulink to read analong signal on LDR. I kepp getting this error '### Failed to generate all binary outputs.' every time I start the simulation. thanks in advance.

Answers (1)

Hello Kareem, Seems that you have not configured your Compiler for Matlab Environment.
As per Text file you have shared, Code Generation is completed.
However to generate the Executable file, you need a compiler to build the generated code.
Please try the following:
1. mex -setup : to check if there are any compilers available for Code Build. 2. Configure the MATLAB to use one of the installed compilers.
Please let us know the result.
Thank you!

Categories

Products

Community Treasure Hunt

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

Start Hunting!