Run a Matlab file via a jar file under Linux

1 次查看(过去 30 天)
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")

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by