我们可以在没有Matlab的任何其他机器上部署matlab生成的Java代码吗? [英] Can we deploy the matlab generated java code on any other machine which is not having Matlab?

查看:175
本文介绍了我们可以在没有Matlab的任何其他机器上部署matlab生成的Java代码吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经从matlab生成了Java代码,并且在Eclipse中执行Java代码时,它试图在matlab编译器运行时中使用mclmcrrt711.dll文件,当我尝试在没有matlab或matlab编译器的另一台计算机上执行Java代码时它给了我错误:"java.lang.UnsatisfiedLinkError:无法在java.library.path上找到MATLAB Builder JA所需的库mclmcrrt711.dll".我尝试添加mclmcrrt711.dll文件到库并通过将系统路径设置为该dll文件位置(仅将.dll文件复制到没有matlab编译器的其他系统).我该如何克服这个错误?请帮帮我.

I have generated a java code from matlab and while executing the java code in Eclipse it is using mclmcrrt711.dll file in matlab compiler runtime, when i try to execute the java code in another machine which is not having matlab or matlab compiler it is giving me the error:"java.lang.UnsatisfiedLinkError: Failed to find the library mclmcrrt711.dll, required by MATLAB Builder JA, on java.library.path" i tried adding the mclmcrrt711.dll file to the library and by setting system path to that dll file location(as copied just the .dll file to other system which is not having matlab compiler). How can i overcome this error?? Please help me out.

预先感谢您 斯里坎特

推荐答案

为了在未安装MATLAB的计算机上使用使用MATLAB的Java组件,您需要安装 MATLAB Builder JA .您应该在MATLAB安装CD上有MCR安装程序.您可以联系 MathWorks ,他们将能够帮助您获得MCR.如果您下载了MATLAB副本,请安装该安装程序.

In order to use Java components that use MATLAB on a machine that does not have MATLAB installed on it, you will need to install the MATLAB Compiler Runtime (MCR). I am assuming you are using MATLAB Builder JA. You should have the MCR installer on the MATLAB install CD. You can contact The MathWorks and they will be able to help you get the MCR installer in the event you downloaded your copy of MATLAB.

这篇关于我们可以在没有Matlab的任何其他机器上部署matlab生成的Java代码吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆