Why do I receive "NMAKE : fatal error U1077" errors when trying to build my model using S-Function Target with the "Rectangular QAM Modulator Baseband" block?

3 views (last 30 days)
Why do I receive errors when trying to build my model using S-Function Target with the "Rectangular QAM Modulator Baseband" block in Communications Blockset 2.0 (R12)?
I have a model that uses the "Rectangular QAM Modulator Baseband" block. I would like to build this model into an S-Function using the S-Function Target of Real-Time Workshop, but I get the following errors in the MATLAB command window:
### Compiling SfunQAM_sf.c
D:\matlabr12\bin\win32\mex -c -O -f D:\matlabr12\bin\win32\mexopts\msvc60opts.bat SfunQAM_sf.c
### Linking ...
D:\matlabr12\sys\perl\win32\bin\perl D:\matlabr12\rtw\c\tools\mkvc_lnk.pl SfunQAM.lnk SfunQAM_sf.obj
D:\matlabr12\bin\win32\mex -O -f D:\matlabr12\bin\win32\mexopts\msvc60opts.bat @SfunQAM.lnk D:\matlabr12\rtw\c\lib\win32\rtwlib_rtwsfcn_vc.lib -outdir ..
Microsoft (R) Incremental Linker Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
SfunQAM_sf.obj D:\matlabr12\rtw\c\lib\win32\rtwlib_rtwsfcn_vc.lib ..\mexversion.res
Creating library ..\_lib4042.x and object ..\_lib4042.exp
SfunQAM_sf.obj : error LNK2001: unresolved external symbol _ssSetOutputPortSampleTimeIndex
SfunQAM_sf.obj : error LNK2001: unresolved external symbol _ssSetInputPortSampleTimeIndex
..\SfunQAM_sf.dll : fatal error LNK1120: 2 unresolved externals
D:\MATLABR12\BIN\WIN32\MEX.PL: Error: Link of '..\SfunQAM_sf.dll' failed.
NMAKE : fatal error U1077: 'D:\matlabr12\bin\win32\mex' : return code '0xff'
Stop.
I also get an RTW Builder Error Dialog Box with the following error:
Error executing build command: Error using ==> make_rtw
Error using ==> rtw_c
Error: Link of '..\SfunQAM_sf.dll' failed.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This problem has been fixed in the Real-Time Workshop Embedded Coder 3.0 (6.5). Please upgrade to this version to resolve this issue.

More Answers (0)

Categories

Find more on Communications Toolbox 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!