Run a Matlab file via a jar file under Linux

1 view (last 30 days)
Hey, i am runing in Linux a jar file which calls a Matlab file(that was developed by someone else).
the Matlab folder starts opening and immediatly closes. when i open the Matlab directly from terminal it works as it should, why via jar filr it breaks??
my code to runing matlabFile in java:
Runtime.getRuntime("gnome-terminal -e ./matlabFile")

Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!