Problem configuring mex to use visual studio as its default compiler
1 次查看(过去 30 天)
显示 更早的评论
I am using MATLAB R2018a and configuring mex to use visual studio 2017 as its default compiler but each time I type "mex -setup -v" I get error: no supported compiler was found. I have tried "mex -setup CPP -v" but no difference.Can someone help?
3 个评论
Ingrid van Peufflik
2020-8-24
According to the help I use it set to to it this way:
mex -setup:'C:\Program Files\MATLAB\R2020a\bin\win64\mexopts\msvc2017.xml' C
If you type : mex -setup in your command window, all found compilers are shown including the command to set those as default compiler.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!