Creating a Custom Client (Host) Transport Protocol

1 view (last 30 days)
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.

Answers (0)

Categories

Find more on MATLAB Compiler SDK 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!