Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
初级会员
注册日期: 2009-03-02
年龄: 37
帖子: 4
声望力: 0 ![]() |
![]()
请问怎么把.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. 请指教具体的操作步骤。谢谢! |
![]() |
![]() |