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일

0 개 추천

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 2019년 2월 14일

0 개 추천

how can we do that?

댓글 수: 1

John D'Errico
John D'Errico 2019년 2월 14일
Please stop adding answers to multiple old questions, when all you have is another question.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터 및 File Exchange에서 Simulink Coder에 대해 자세히 알아보기

질문:

2017년 12월 7일

댓글:

2019년 2월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by