Info
This question is closed. Reopen it to edit or answer.
How can I get MEX to recognise the compiler?
1 view (last 30 days)
Show older comments
Hi,
Just having a bit of trouble setting up Matlab for converting into C++ code. I am using MATLAB version 2012b.
I have downloaded SDK 7.1 and NET 4 as well as the Microsoft Visual C++ 2010 (x64 and x86) Redistributable.
MATLAB recognises the compiler and asks me to confirm the selection when I input the command "mex -setup".
However, when I go to convert MATLAB code into C++ using the MATLAB coder for C/C++ Static Library output I receive the following build errors,
"The current MEX compiler '<unknown>' is not supported. Use mex -setup to selecta supported compiler."
I have admin rights to the computer.
How can I get MEX to recognise the compiler? I have not been able to find any solutions online.
Thanks.
Kind regards, James
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!