Error in 'rtwmakecfg' while performing rtwbuild

15 Ansichten (letzte 30 Tage)
Tarun Devalla
Tarun Devalla am 19 Okt. 2019
Kommentiert: Tarun Devalla am 30 Jun. 2020
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 Kommentare
Maria Radecki
Maria Radecki am 29 Jun. 2020
Were you able to solve this problem?
We have a user with the same issue.
Tarun Devalla
Tarun Devalla am 30 Jun. 2020
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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Simulink Coder finden Sie in Help Center und File Exchange

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by