Error in 'rtwmakecfg' while performing rtwbuild

15 次查看(过去 30 天)
Hello,
I am going through the "Target to Host Transmission UDP" with Matlab version 2019a. and I get the following error:
Unable to run 'rtwmakecfg' file in directory: 'D:\Program_files\MATLAB_2019a\toolbox\rtw\targets\xpc\target\build\xpcblocks' due to error: 'Reference to non-existent field 'Version'.'
Caused by:
  • Reference to non-existent field 'Version'.
The line of code I run before the error occurs is
rtwbuild('TargetToHostUDPTx'); % Build and download application.
I am unclear as to why this is happening. Any help regarding this will be useful.
Thanks in advance!
  2 个评论
Maria Radecki
Maria Radecki 2020-6-29
Were you able to solve this problem?
We have a user with the same issue.
Tarun Devalla
Tarun Devalla 2020-6-30
Yes, it seemed to be a c compiler issue that was causing the error. I used microsoft visual C++ 2013 Professional(c) compiler. Set up simulink RT to use that compiler using 'mex -setup'. Maybe some other c compilers might also work but I haven't tested any other.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by