Failed to generate all binary outputs

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.

回答(2 个)

Astik Sachan
Astik Sachan 2017-12-7
Try adding the source files that are used for S-function Through
Configuration Parameters -->Code Generation-->Custom Code -->Include list of additional-->Source files.
how can we do that?

1 个评论

Please stop adding answers to multiple old questions, when all you have is another question.

请先登录,再进行评论。

类别

在 帮助中心 和 File Exchange 中查找有关 Simulink Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by