Calling Java from Matlab is very slow

随声附和 提交于 2019-12-12 01:28:36

问题


I'm calling a jar file from Matlab using the system function. Like this:

system('java -jar myfile.jar') 

When I run the jar file directly through CLI it runs like a charm in less than 1min.

When I call it from Matlab using the system function, however, it takes around 10min to run!

Any ideas on how to solve this, or the cause of the slowness?

来源:https://stackoverflow.com/questions/30740996/calling-java-from-matlab-is-very-slow

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!