Why does HDL codegeneration fails for my model with a "File format not recognized" error message?

조회 수: 2 (최근 30일)
When I try to generate HDL code for my model, then it fails in one of the intermediate steps with this error message:
MEX completed successfully. ### Linking ... "C:\matlab\R2015b\bin\win64\mex.exe" -silent LDFLAGS="$LDFLAGS " -output mymodel_cgxe.mexw64 "C:\matlab\R2015b\extern\lib\win64\mingw64\libmx.lib" "C:\matlab\R2015b\extern\lib\win64\mingw64\libmex.lib" "C:\matlab\R2015b\extern\lib\win64\mingw64\libmat.lib" "C:\matlab\R2015b\extern\lib\win64\mingw64\libfixedpoint.lib" "C:\matlab\R2015b\extern\lib\win64\mingw64\libut.lib" "C:\matlab\R2015b\extern\lib\win64\mingw64\libmwmathutil.lib" "C:\matlab\R2015b\extern\lib\win64\mingw64\libemlrt.lib" "C:\matlab\R2015b\extern\lib\win64\mingw64\libmwcgxert.lib" "-LC:\matlab\R2015b\bin\win64" "-llibmwipp" "C:\matlab\R2015b\extern\lib\win64\mingw64\libcovrt.lib" "C:\matlab\R2015b\extern\lib\win64\mingw64\libmwblas.lib" @mymodel_cgxe.mol
C:\matlab\R2015b\bin\win64/libmwipp.dll: file not recognized: File format not recognized
collect2.exe: error: ld returned 1 exit status
gmake: *** [mymodel_cgxe.mexw64] Error -1

채택된 답변

MathWorks Support Team
MathWorks Support Team 2021년 2월 25일
편집: MathWorks Support Team 2021년 2월 25일
This issue is caused by using an unsupported version of the MinGW compiler. In Release 2015b MATLAB on Windows only supports MinGW 4.9.2. You can use the "--version" flag on the GCC executable to find our what exact version you have.
See the following page for details on how to install the supported version of MinGW:
 

추가 답변 (0개)

태그

아직 태그를 입력하지 않았습니다.

제품


릴리스

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by