注册 登录
编程论坛 Matlab

这是怎么回事,谁能告诉我

kindhearted 发布于 2007-12-09 11:29, 1843 次点击
>> mcc -t -h -L C -W lib:ppp -T link:lib myfunc.m
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 -L switch is no longer supported; the target (-T) and wrapper (-W)
switches determine the language of the generated code.
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 -L switch is no longer supported; the target (-T) and wrapper (-W)
switches determine the language of the generated code.
 
>> mcc -m myfunc
>> mcc -x myfunc
??? Error: -x is no longer supported. The MATLAB Compiler no longer generates
  MEX files because there is no longer any performance advantage to doing so: the
  MATLAB JIT accelerates M-files by default.
  To hide proprietary algorithms, use the PCODE function.
>> mcc -p myfunc
??? Error: No source files were specified (-? for help).
>> comtool
>> mcc -s myfunc
??? Error: Unrecognized option: -s.
>> mcc -S myfunc
??? Unable to determine application type, since no wrapper function was specified.
Please use the -W switch or specify application type via -m or -l.
Type 'mcc -?' for further assistance.
1 回复
#2
hlongxiang2007-12-11 21:24
估计是你matlab版本的问题,有些命令,不同版本之间是不兼容的
1