[matlab]builder for COM 出现 The chosen compiler does not support building COM objects
1,现象。使用 matlab builder for COM 编译,想生成一个DLL。但是出现提示 The chosen compiler does not support building COM objects。根据相关文档 http://www.mathworks.com/access/helpdesk/help/toolbox/matlabxl/ug/f10-6010.html 指导,重新设置编译器 mbuild -setup ,发现系统中其实只有一个编译器,见附录,选择之后,重新编译,错误依旧。
2,之前曾经在两台机器上安装 matlab,都很好用,能够编译生成 dll,而且可以用 vc 编的程序去调用。但是,现在安装的,怎么也无法成功了~~
3,本人使用的 matlab 版本 v7.1
请各位高手指导!!
附录:
Select a compiler:
[1] Lcc C version 2.4.1 in C:\PROGRAM FILES\MATLAB71\BIN\WIN32\\..\..\sys\lcc
[0] None
Compiler: 1
Please verify your choices:
Compiler: Lcc C 2.4.1
Location: C:\PROGRAM FILES\MATLAB71\BIN\WIN32\\..\..\sys\lcc
Are these correct?([y]/n):