baihualin8888
2009-05-25, 17:10
请问怎么把.m文件转为.dll,.h,.cpp然后在vc里调用啊,我试过:(格式:mcc -t -W libhg:<库名称> -T link:lib -h libmmfile.mlib libmwsglm.mlib 文件名) 但matlab不支持,有以下的错误:
The -t switch is no longer supported; the Compiler no longer generates C/C++
source code for M-functions (it generates wrapper functions instead, see
the documenation for -W).
The -h switch is no longer supported; the MATLAB Compiler detects M-file
dependencies automatically. But see also the documentation for the -a switch.
请指教具体的操作步骤。谢谢!
The -t switch is no longer supported; the Compiler no longer generates C/C++
source code for M-functions (it generates wrapper functions instead, see
the documenation for -W).
The -h switch is no longer supported; the MATLAB Compiler detects M-file
dependencies automatically. But see also the documentation for the -a switch.
请指教具体的操作步骤。谢谢!