Failed to generate all binary outputs

2 views (last 30 days)
Astik Sachan
Astik Sachan on 7 Dec 2017
Commented: John D'Errico on 14 Feb 2019
Hi, I am generating Code for a model containing S_Functions in MATLAB 2015b using Simulink and facing the following error. Plz help!
SDF_FTM_PED.obj : error LNK2019: unresolved external symbol Pedestrian_Outputs_wrapper referenced in function SDF_FTM_PED_step
..\SDF_FTM_PED.exe : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\link.EXE"' : return code '0x460'
Stop.
The make command returned an error of 2
'An_error_occurred_during_the_call_to_make' is not recognized as an internal or external command,
operable program or batch file.
### Build procedure for model: 'SDF_FTM_PED' aborted due to an error.
Error(s) encountered while building "SDF_FTM_PED":
### Failed to generate all binary outputs.

Answers (2)

Astik Sachan
Astik Sachan on 7 Dec 2017
Try adding the source files that are used for S-function Through
Configuration Parameters -->Code Generation-->Custom Code -->Include list of additional-->Source files.

Ricardo Jaramillo Diaz
Ricardo Jaramillo Diaz on 14 Feb 2019
how can we do that?
  1 Comment
John D'Errico
John D'Errico on 14 Feb 2019
Please stop adding answers to multiple old questions, when all you have is another question.

Sign in to comment.

Categories

Find more on Simulink Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!