MATLAB: Did I receive an error when I tried to use xPC Target 2.0 (R13.0.1) to build a model that had been translated using the SB2SL command

conversionmatrixxsb2slsimulinkSimulink Real-Timesystembuild

I translated my SystemBuild SuperBlocks to Simulink models using SB2SL. However, when I tried to build my model using xPC Target, I received the following error:
### Linking ...
C:\Programs\Matlab65\sys\perl\win32\bin\perl C:\Programs\Matlab65\rtw\c\tools\mkvc_lnk.pl
LM25_Ctl_Mod_x1.lnk LM25_Ctl_Mod_x1.obj LM25_Ctl_Mod_x1_data.obj sbpowdi.obj rt_sim.obj
rt_nonfinite.obj xpctarget.obj sblintable.obj
link /NOLOGO /DLL /SUBSYSTEM:CONSOLE /DEF:xpcvcdll.def
/Include:_malloc C:\Programs\Matlab65\toolbox\rtw\targets\xpc\target\build\lib\rttheap.lib
C:\Programs\Matlab65\rtw\c\lib\win32\rtwlib_vc.lib
@LM25_Ctl_Mod_x1.lnk -out:LM25_Ctl_Mod_x1.dll
LINK : fatal error LNK1181: cannot open input file "sblintable.obj"
NMAKE : fatal error U1077: 'link' : return code '0x49d'
Stop.

Best Answer

The error occurs because the compiled S-function SBLINTABLE.dll in the Interp Table block under the ARC library within the LIBSB2SL library cannot be built.
Replace the Interp Table block under the ARC library in the LIBSB2SL library with the Look-Up Table block in the Look-Up Tables library within the Simulink library before building the model using xPC Target 2.0 (R13.0.1).