Matlab Java call is very slow

I call the jar file from Matlab using the system function. Like this:

system('java -jar myfile.jar') 

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

However, when I call it from Matlab using a system function, it starts for about 10 minutes!

Any ideas on how to solve this problem, or about the reason for the slowness?

0
source share

Source: https://habr.com/ru/post/1617316/


All Articles