Creating a Custom Client (Host) Transport Protocol
1 次查看(过去 30 天)
显示 更早的评论
Hi,
- I put this in the command line, like is commented on the guide:
>> mex rtw\ext_mode\common\ext_comm.c rtw\ext_mode\common\ext_convert.c rtw\ext_mode\common\rtiostream_interface.c rtw\c\src\rtiostream\rtiostreamtcpip\rtiostream_tcpip.c -Irtw\c\src\ext_mode\common -Irtw\c\src -Irtw\ext_mode\common -Irtw\ext_mode\common\include -Irtw\c\src\rtiostream\utils -DSL_EXT_DLL -DWIN32 wsock32.lib -output toolbox\rtw\rtw\ext_comm -Lextern\lib\win32\microsoft -lut
- but I have this error:
RTW\EXT_MODE\COMMON\rtiostream_interface.c(94) : error C2146: syntax error : missing ';' before identifier 'SL_EXT' RTW\EXT_MODE\COMMON\rtiostream_interface.c(94) : error C2065: 'SL_EXT' : undeclared identifier RTW\EXT_MODE\COMMON\rtiostream_interface.c(99) : error C2143: syntax error : missing ';' before 'type' RTW\EXT_MODE\COMMON\rtiostream_interface.c(101) : error C2065: 'error' : undeclared identifier RTW\EXT_MODE\COMMON\rtiostream_interface.c(364) : warning C4013: 'MIN' undefined; assuming extern returning int
C:\ARCHIV~1\MATLAB\R2010A\BIN\MEX.PL: Error: Compile of 'RTW\EXT_MODE\COMMON\rtiostream_interface.c' failed.
??? Error using ==> mex at 222 Unable to complete successfully.
- And I have not changed any file yet. I'm only trying to recompiled the mex32 file.
Thank you in advance. Good bye.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Compiler SDK 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!