问题
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