MATLAB 独立可执行文件
我想知道为 MATLAB 代码创建独立 exe 的最简单方法。我没有 MATLAB 编译器。 (Mathworks 要求您购买许可证)。
MATLAB 是我所知道的唯一编程语言。分步说明(特别是对于非 MATLAB 内容)将不胜感激。
版本: MATLAB 版本 7.10.0.499 (R2010a) 操作系统:Microsoft Windows 7 版本 6.1(内部版本 7600) Java VM 版本:Java 1.6.0_12-b04,Sun Microsystems Inc. Java
I would like to know the easiest way to create a stand alone exe for MATLAB code. I do not have the MATLAB compiler. (Mathworks asks you to buy a license).
MATLAB is the only programming language I know. Step by step instructions (especially for non-MATLAB stuff) would be appreciated.
ver:
MATLAB Version 7.10.0.499 (R2010a)
Operating System: Microsoft Windows 7 Version 6.1 (Build 7600)
Java VM Version: Java 1.6.0_12-b04 with Sun Microsystems Inc. Java
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果是纯MATLAB代码,你可以尝试我在programmers.SE上提出的方法(此处):
“您可以使用免费的 scilab 到 C 转换器。
该过程是将
Scilab 与 M2SCI
工具,
"Scilab 2
C",
分析器来搜索瓶颈
需要人眼。
理想情况下,在此过程中不需要 Scilab 知识,并且很容易花一些时间尝试这个解决方案(实际上,它可能不那么简单......)
注意:我没有尝试这个,但这是我自己设想的一个解决方案类似的原因。”
否则正如 gnovice 所指出的,MATLAB 编译器是强制性的。
If it's pure MATLAB code, you can try the method that I proposed on programmers.SE (here) :
"You can use the free scilab to C converter.
The procedure would be
Scilab with M2SCI
tools,
"Scilab 2
C",
profiler to search bottlenecks that
need a human eye.
Ideally no knowledge of Scilab is needed in the process and it's easy enough to take some time try this solution (in practice, it's maybe not as simple ...)
Note : I didn't try this but it's a solution I envisage myself for similar reasons."
Otherwise as noted by gnovice, the MATLAB compiler is mandatory.
我想我会得到编译器......
Guess I'll just get the compiler...