필터 지우기
필터 지우기

Creating a Custom Client (Host) Transport Protocol

조회 수: 3 (최근 30일)
Carlos
Carlos 2012년 1월 9일
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개)

카테고리

Help CenterFile Exchange에서 MATLAB Compiler SDK에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by