MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [MATLAB混合编程] matlab转vc++方法 (https://www.labfans.com/bbs/showthread.php?t=8615)

baihualin8888 2009-05-25 17:10

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.
请指教具体的操作步骤。谢谢!


所有时间均为北京时间。现在的时间是 10:22

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