Reputation: 156
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?
Upvotes: 0
Views: 570