文档介绍:vc 和matlab,该如何处理
   发布于:2012-05-14 15:24:34   浏览:28次
-
vc 和matlab
,在matlab中输入mex -setup,结果如下:
>> mex -setup
Please choose piler for building external interface (MEX) files: 
 
Would you like mex to locate pilers [y]/n? y
 
Select piler: 
[1] Lcc C version in D:\MATLAB\\sys\lcc 
 
[0] None 
请问没有VC编译器,这是什么原因呢
------解决方案--------------------------------------------------------
估计你的是绿色版的vc6
 mex -setup
不要选择 Y, 选择 N,指定编译器,指定目录。另外,某些山寨编译器,也不支持的,官网有支持的编译器列表。
 
e to mex -setup. This utility will help you set up
a piler. For a list of pilers, see
pilers/R2012a/ 
 
Please choose piler for building MEX-files: 
 
Would you like mex to locate pilers [y]/n? n
 
Select piler: 
[1] Intel C++ (with Microsoft Software Development Kit (SDK) linker) 
[2] Intel C++ (with Microsoft Visual C++ 2008 SP1 linker) 
[3] Intel C++ (with Microsoft Visual C++ 2010 linker) 
[4] Intel C++ (with Microsoft Visual C++ 2008 SP1 linker) 
[5] Intel Visual Fortran 12 (with Microsoft Software Development Kit (SDK) linker) 
[6] Intel Visual Fortran (with Microsoft Visual C++ 2008 SP1 linker) 
[7] Intel Visual Fortran (with Microsoft Visual C++ 2008 Shell linker) 
[8] Intel Visual Fortran (with Microsoft Visual C++ 2010 linker) 
[9] Intel Visual Fortran (with Microsoft Visual C++ 2008 SP1 linker)