Compile Errors RTW build with xpcscope on Version R13

Adding Target Scope 'Scope(xpc)' to simulink model causes RTW Build to fail from errors in generated C-code. How do I get it to compile?
The first few comile errors are shown below. _____________________________ Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
### Compiling raster2rtw_1.c
cl -Ot -DUSE_RTMODEL -DMODEL=raster2rtw_1 -DRT -DNUMST=1 -DTID01EQ=0 -DNCSTATES=0 -DMT=0 -DHAVESTDIO -c -W3 -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -D_X86_=1 -D_WINNT -D_WIN32_WINNT=0x0400 -D_WIN32_IE=0x0300 -DWINVER=0x0400 -DWIN32 -D_WIN32 raster2rtw_1.c
raster2rtw_1.c
raster2rtw_1.c(58) : error C2143: syntax error : missing ')' before '*'
raster2rtw_1.c(58) : error C2059: syntax error : ')'
raster2rtw_1.c(59) : error C2143: syntax error : missing ')' before '*'
raster2rtw_1.c(59) : error C2182: 'XPCCALLCONV' : illegal use of type 'void'
raster2rtw_1.c(59) : error C2086: 'XPCCALLCONV' : redefinition
.
.
.
.

2 个评论

Could you paste the relevant lines from raster2rtw_1.c(58 & 59)?
Here is a place to solve all types of computer and windows error code like error 0x80004005, code 3000 and more ! -

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Test Model Components 的更多信息

提问:

Cal
2011-10-17

评论:

2016-4-11

Community Treasure Hunt

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

Start Hunting!

Translated by