| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1835 人关注过本帖
标题:这是怎么回事,谁能告诉我
只看楼主 加入收藏
kindhearted
Rank: 1
等 级:新手上路
帖 子:7
专家分:0
注 册:2007-12-9
收藏
 问题点数:0 回复次数:1 
这是怎么回事,谁能告诉我
>> 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.
搜索更多相关主题的帖子: switch The longer wrapper 
2007-12-09 11:29
hlongxiang
Rank: 1
等 级:新手上路
帖 子:88
专家分:0
注 册:2007-10-30
收藏
得分:0 
估计是你matlab版本的问题,有些命令,不同版本之间是不兼容的
2007-12-11 21:24
快速回复:这是怎么回事,谁能告诉我
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.066214 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved