c_mexapi_version.obj : file not recognized: File format not recognized

4 次查看(过去 30 天)
i recently installed 2022b on windows 10 , when i went through the "AutomatedParkingValetSimulinkExample" and tried to run it , the linker complained as below, i have installed MinGW-w64 c/c++ compiler, what should i do ?

Linking ... "F:\Program Files\MATLAB\R2022b\bin\win64\mex.exe" -R2018a -silent LD="$MINGWROOT\bin\g++" LDFLAGS="$LDFLAGS " -output AutomatedParkingValet_sfun.mexw64 @AutomatedParkingValet_sfun.mol C:\Users\GW0020~1\AppData\Local\Temp\mex_105835094279650_24940\c_mexapi_version.obj: file not recognized: File format not recognized collect2.exe: error: ld returned 1 exit status

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by