是有想用CVI和MATLAB混合编程。把.M文件编译成动态链接库时候出错了。具体如下:请帮忙解答一下嘛,十万火急。谢谢啦! mbuild -setupPlease choose your compiler for building standalone MATLAB applications: Would you like mbuild to locate installed compilers [y]/n? Select a compiler: [1] Lcc-win32 C 2.4.1 in C:/PROGRA~1/MATLAB/R2009a/sys/lcc [0] None Compiler: 1 Please verify your choices: Compiler: Lcc-win32 C 2.4.1 Location: C:/PROGRA~1/MATLAB/R2009a/sys/lcc Are these correct [y]/n? Trying to update options file: C:/Documents and Settings/Administrator/Application Data/MathWorks/MATLAB/R2009a/compopts.bat From template: C:/PROGRA~1/MATLAB/R2009a/bin/win32/mbuildopts/lcccompp.bat Done . . . >> mcc -T csharedlib:ex161 ex161.m??? Error using ==> mccError: "csharedlib:ex161" is not a valid -T option argument.
mcc -l ex161.mDepfun error: 'Unable to locate ex161.m as a function on the MATLAB path' ??? Error using ==> mccError executing mcc, return status = 1 (0x1).
|