Matlab Builder JA - 将 Matlab 编译成 Java jar - 免费版本?

发布于 2024-11-29 14:22:06 字数 263 浏览 2 评论 0原文

请记住,我对 Matlab 一无所知。

Matlab Builder JA 允许开发人员构建 Matlab 应用程序并将其导出到 Java jar 中。太棒了,我只需要生成一个 jar,然后就可以从其他 java 代码中使用它。

有谁知道单罐包装模块多少钱?

有免费版本或类似的免费软件产品吗?

有没有其他方法可以通过标准 Matlab/Java 实现同样的事情 - 使用 Java 将输入传递给 Matlab 并获取输出而不用担心其他任何事情?

Please keep in mind that I know nothing about Matlab.

Matlab Builder JA lets developer build Matlab applications and export them into Java jars. That's great, I just have to produce a jar and I can then use it from other java code.

Does anyone know how much the single jar packaging module cost?

Is there any free version or similar freeware product?

Is there any other way to achieve the same thing -Using Java to pass inputs to Matlab and getting an output back without worrying about anything else- with standard Matlab/Java?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

土豪我们做朋友吧 2024-12-06 14:22:06

Matlab JA Builder(也称为 Matlab JA 编译器)的运行费用约为 5,000 美元,但要使部署实际工作,您还需要获取 MCR 工具箱,该工具箱的费用约为 4,000 美元。这当然是在现有的 Matlab 安装之上,这将花费您大约 2000 美元。因此,只需花费大约 11,000 美元,您就可以拥有一个全副武装的操作工作站,将 .M 文件函数转换为可在任意 Java 应用程序中使用的压缩 .jar 文件。很酷的是,这些许可证费用为您提供了部署的站点许可证...这意味着可以在为任何目标计算机支付许可证费用的站点上免费部署此设置生成的任何 .jar 文件。目标机器不需要安装 matlab。我上次检查时存在对 Win/Mac/Linux/Solaris 的操作系统支持。

但请注意,许可证结构适用于一个站点和一台开发计算机。您希望两个开发人员同时工作吗?成本加倍。您想要将同一个应用程序部署到多个站点......成本加倍。致电 Mathworks,他们很乐意准确地告诉您需要什么和不需要什么,您可能会与工程师而不是呼叫中心的无人机交谈。我在 2009 年的上一份工作中完成了所有这些工作。

The Matlab JA Builder (also referred to as the Matlab JA Compiler) runs about $5k, but for the deployment to actually work you also need to get the MCR Toolbox, which is about $4k. This is of course on top of an existing Matlab installation which will run you about $2k. So for about $11k you can have a fully armed and operation workstation that converts .M file functions to a compressed .jar file that can be used in an arbitrary Java application. The cool thing is that these license fees give you a site license for DEPLOYMENT... meaning it is free to deploy any .jar file produced by this setup at the site that pays for the licenses to any target machine. The target machines do NOT need matlab installed. OS support exists for Win/Mac/Linux/Solaris last I checked.

However be advised that the license structure is for one site and for one development machine. You want two developers working simultaneously? double the costs. You want to deploy the same app to multiple sites... double the costs. call Mathworks they're very happy to tell you precisely what you need and don't need and you'll probably talk to an engineer and not some call center drone. I did all this at a previous job in 2009.

掩耳倾听 2024-12-06 14:22:06

MATLAB Builder JA for Java 目前的个人商业许可证售价为 3,150 英镑,并且需要 MATLAB Compiler,目前个人商业许可证的售价为 3,850 英镑。我在英国,因此无法获取其他货币的定价,但您可以通过以下链接获取当地价格。

MATLAB Builder JA 的定价

MATLAB 编译器的定价

与 Birdasaur 的答案相反,产品(和Solaris 上不支持 MATLAB 本身 - Solaris 自 R2010a 起< /a>.您还可以将生成的 .jar 文件部署到任意数量的站点。个人许可证可以分配给指定的个人,在这种情况下,只有该开发人员可以使用该产品;或者到特定的机器,在这种情况下,任何开发人员只要在机器的控制台(未远程登录)就可以使用它。

MATLAB 还有一个未公开的接口,称为 JMI(Java MATLAB 接口),您可以使用它直接从 Java 调用 MATLAB。查看 matlabcontrol。但是,这需要已部署应用程序的 MATLAB 实时副本。

MATLAB Builder JA for Java is currently £3,150 for an individual commercial license, and requires MATLAB Compiler, which is currently £3,850 for an individual commercial license. I'm in the UK so can't get pricing in other currencies, but you can get your local prices from the following links.

Pricing for MATLAB Builder JA

Pricing for MATLAB Compiler

Contrary to Birdasaur's answer, the products (and the deployed components) are not supported on Solaris - MATLAB itself has not been supported on Solaris since R2010a. You can also deploy the generated .jar files to as many sites as you like. Individual licenses can be either assigned to a named individual, in which case only that developer can use the product; or to a specific machine, in which case any developer can use it as long as they are at the console of the machine (not remotely logged in).

MATLAB also has an undocumented interface called JMI (Java MATLAB interface) that you can use to call MATLAB directly from Java. Take a look at matlabcontrol. However, this requires a live copy of MATLAB for the deployed application.

魄砕の薆 2024-12-06 14:22:06

您可能应该联系 MathWorks 有关许可事宜。由于这是相当高端的功能,我推测它相当昂贵。

您可能应该看看 Octave,它是根据 GNU GPL 授权的。此外,Matlab 周围还有各种各样的包装器,例如 MLabWrap,但是它们需要安装 Matlab 版本,所以它不适用于重新分配或任何东西。

You should probably contact MathWorks about licensing. As this is fairly high end functionality I would speculate that it is quite expensive.

You should probably take a look at Octave which is licensed under GNU GPL. Also, there are also a wide variety of wrappers around Matlab, such as MLabWrap, however they require a Matlab version installed, so it would not work for redistribution or anything.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文