Labfans是一个针对大学生、工程师和科研工作者的技术社区。 论坛首页 | 联系我们(Contact Us)
MATLAB爱好者论坛-LabFans.com
返回   MATLAB爱好者论坛-LabFans.com > 工程数学软件 > MATLAB论坛
MATLAB论坛 一切MATLAB相关问题在此讨论。
回复
 
主题工具 显示模式
旧 2009-05-25, 17:10   #1
baihualin8888
初级会员
 
注册日期: 2009-03-02
年龄: 37
帖子: 4
声望力: 0
baihualin8888 正向着好的方向发展
默认 matlab转vc++方法

请问怎么把.m文件转为.dll,.h,.cpp然后在vc里调用啊,我试过:(格式:mcc -t -W libhg:<库名称> -T link:lib -h libmmfile.mlib libmwsglm.mlib 文件名) 但matlab不支持,有以下的错误:
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.
请指教具体的操作步骤。谢谢!
baihualin8888 当前离线   回复时引用此帖
回复

主题工具
显示模式

发帖规则
不可以发表新主题
不可以发表回复
不可以上传附件
不可以编辑自己的帖子

启用 BB 代码
论坛启用 表情符号
论坛启用 [IMG] 代码
论坛禁用 HTML 代码



所有时间均为北京时间。现在的时间是 18:33


Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.