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

4 views (last 30 days)
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

Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!