![]() |
【求助】matlab编译器问题
弄了半个月都没弄出来。
谁有过把M文件编译成独立执行的可执行文件的经验啊?麻烦讲讲该怎么搞? 我写了一个简单的m文件,文件名为test.m,里面没有调用库函数。想把它编译成一个可 以在没有安装matlab的机子上独立执行的可执行文件。 我先用mcc –m test.m进行编译。然后在未装matlab,但装了vc++ 6.0的机子上安装 MCRInstaller.exe,然后解压缩MCRInstaller.zip。接着在“我的电脑”“属性”里添 加环境变量MCRInstaller: $matlab\v70\runtime\win。然后运行test.exe,就会报错: Runtime Error! Program:C:\Documents and Setting\桌面\test\test1\main.exe This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. |
混合编程咯
用matcom+vc++一般能解决,自己找找相关资料 要的话,我这里有个很简单很好的入门的教程可以发给你:) |
所有时间均为北京时间。现在的时间是 05:32。 |
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.