Why do I get a compile error when generating code for an automatically generated S-Function?
显示 更早的评论
I am running into an error while generating code for an S-Function that I have previously build via the right-click menu 'C/C++ Code > Generate S-Function', based on a Simulink model I created. The error specifically mentions:
_Subsystem_sf.obj : error LNK2019: unresolved external symbol ssFxpSetU32BitRegionCompliant referenced in function mdlInitializeSizes
..\untitled.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._
I want to make sure that the file 'ssFxpSetU32BitRegionCompliant', mentioned in the error, is included in the build.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink Coder 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!