Info
此问题已关闭。 请重新打开它进行编辑或回答。
How can I get MEX to recognise the compiler?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!