开发者

Can we deploy the matlab generated java code on any other machine which is not having 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 开发者_JAVA百科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.

Thank you in advance Srikanth


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜