lovely007 发表于 2009-2-5 00:49:53

求助:matlab的m文件转换为dll文件时出错

我想将matlab的.m文件转换为dll文件,然后由labview调用。但是转换成dll文件中出现问题:
Building COM object...
mcc -M -silentsetup -d 'd:/Program Files/MATLAB71/work/testa/src'-B 'ccom:testa,a,1.0'    'D:/Program Files/MATLAB71/work/a.m'   
Starting the SIT Server on port 6011
SIT Server started
Warning: Either the server is already running or the port number is invalid.
Shut down the MATLAB process in which the server is running or run the server on a different port number.
Error: File "a" is a script M-file and cannot be compiled with the current Compiler.
不知道如何解决,恳请帮助,谢谢!
页: [1]
查看完整版本: 求助:matlab的m文件转换为dll文件时出错