Can I link a library or ojbect file built with one compiler to a MEX function built with a different compiler?
I am using MATLAB R2024a on a Windows machine to build and link a C++ MEX function to a C++ static library.
I am compiling the static library outside of MATLAB using a supported version of the MinGW C/C++ compiler. In MATLAB, I am using the "mex" function and a supported version of the Microsoft Visual C++ compiler.
Is this a supported workflow? And if not, what workaround is available for me?I am using MATLAB R2024a on a Windows machine to build and link a C++ MEX function to a C++ static library.
I am compiling the static library outside of MATLAB using a supported version of the MinGW C/C++ compiler. In MATLAB, I am using the "mex" function and a supported version of the Microsoft Visual C++ compiler.
Is this a supported workflow? And if not, what workaround is available for me? I am using MATLAB R2024a on a Windows machine to build and link a C++ MEX function to a C++ static library.
I am compiling the static library outside of MATLAB using a supported version of the MinGW C/C++ compiler. In MATLAB, I am using the "mex" function and a supported version of the Microsoft Visual C++ compiler.
Is this a supported workflow? And if not, what workaround is available for me? mex, compiler, staticlibrary MATLAB Answers — New Questions