Mex MinGW64 problem
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello,
i have a problem with MinGW64 Compiler (c).
Matlab Version: R2018B
Issuse:
I am trying to build an s-function by compiler MinGW64, in Matlab is everything set correctly, but still, I am receiving the error that the compiler dost not exist. I already try to reinstall MinGW64 but It did not help.
Matlab command window:
>> mex -setup
MEX configured to use 'MinGW64 Compiler (C)' for C language compilation.
Warning: The MATLAB C and Fortran API has changed to support MATLAB
variables with more than 2^32-1 elements. You will be required
to update your code to utilize the new API.
You can find more information about this at:
https://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html.
To choose a different C compiler, select one from the following:
MinGW64 Compiler (C) mex -setup:C:\Users\z637879\AppData\Roaming\MathWorks\MATLAB\R2018b\mex_C_win64.xml C
Microsoft Visual C++ 2015 (C) mex -setup:C:\app\MATLAB\R2018b\bin\win64\mexopts\msvc2015.xml C
Microsoft Visual C++ 2017 (C) mex -setup:C:\app\MATLAB\R2018b\bin\win64\mexopts\msvc2017.xml C
To choose a different language, select one from the following:
mex -setup C++
mex -setup FORTRAN
build log:
No supported compiler was found. You can install the freely available MinGW-w64 C/C++ compiler; visit https://www.mathworks.com/help/matlab/matlab_external/install-mingw-support-package.html. For more options, visit https://www.mathworks.com/support/compilers.
6 comentarios
Dennis Baron
el 22 de Jul. de 2020
Hey Jan.
Have you solved your problem?
We did run into the same behaviour.
Best Regards
Dennis
Respuestas (0)
Ver también
Categorías
Más información sobre MATLAB Support for MinGW-w64 C/C++ Compiler en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!