MATLAB System Generator [ error: stray '\375' in program ]

4 次查看(过去 30 天)
Hello,
I try to run the one of the examples' MATLAB System Generator, called sysgenMRI_2D_FFT. MATLAB Version 2016a and Vivado version 2017.2. I have received an error about the compiling. I tried two different compiler: Microsoft Visual Studio 2015 and MinGW64 Compiler. But result is not changed. Below is seen error log ;
Error 0001:
Reported by: 'sysgenMRI_2D_FFT/Corner_Turn_Memory/DSP48_MUX/DSP48E1 '
Details:
:/Users/$/AppData/Local/Temp/sysgentmp-$/.xlmcode_work/xlDSP48E1/11b8/0/40622002/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:1: warning: -fPIC ignored for target (all code is position independent) C:/Users/$/AppData/Local/Temp/sysgentmp-$/.xlmcode_work/xlDSP48E1/11b8/0/40622002/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c: In function 'xlsim_update': C:/Users/$/AppData/Local/Temp/sysgentmp-$/.xlmcode_work/xlDSP48E1/11b8/0/40622002/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:896: warning: integer constant is too large for 'long' type C:/Users/$/AppData/Local/Temp/sysgentmp-$/.xlmcode_work/xlDSP48E1/11b8/0/40622002/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:988: error: stray '\375' in program C:/Users/$/AppData/Local/Temp/sysgentmp-$/.xlmcode_work/xlDSP48E1/11b8/0/40622002/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:988: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_3_626_5' C:/Users/$/AppData/Local/Temp/sysgentmp-$/.xlmcode_work/xlDSP48E1/11b8/0/40622002/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:988: error: '_3_626_5' undeclared (first use in this function) C:/Users/$/AppData/Local/Temp/sysgentmp-$/.xlmcode_work/xlDSP48E1/11b8/0/40622002/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:988: error: (Each undeclared identifier is reported only once C:/Users/$/AppData/Local/Temp/sysgentmp-$/.xlmcode_work/xlDSP48E1/11b8/0/40622002/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:988: error: for each function it appears in.)
Is there any solution offer ?
Thank you,

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Results, Reporting, and Test File Management 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by