如何将C编译器添加到MATLAB 7.9.0(R2009b)?我试图mex -setup
查看支持的编译器,但我得到这个:添加C编译器MATLAB
**>> mex -setup
Please choose your compiler for building external interface (MEX) files:
Would you like mex to locate installed compilers [y]/n? y
Select a compiler:
[0] None**
如果有人知道的解决方案,请回复。提前致谢。
您的计算机上安装了哪些编译器? –
我通常使用[mexopts.sh](http://www.mathworks.de/de/help/matlab/ref/mex.html)通过添加类似“CXX = pathtog ++”和“CC = pathtocc”来指定编译器“到”〜/ .matlab/R2011a/mexopts.sh“中的文件。这对你有用吗? – sietschie