我想将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.
不知道如何解决,恳请帮助,谢谢!