Run Matlab in Linux without graphical environment?

后端 未结 5 1229
情深已故
情深已故 2021-02-04 07:54

I am going to run a Matlab program in a remote Linux server using SSH. I was wondering how to run Matlab in Linux with only command line, which means there is no graphical envir

5条回答
  •  南笙
    南笙 (楼主)
    2021-02-04 08:26

    Start MatLab with the following flags

    matlab -nodesktop -nojvm -nosplash
    
    • -nodesktop prevents the desktop

    • -nojvm prevents starting of the java virtual machine

    • -nosplash prevents the start-up splash screen.

    Note, that, as Li-aung Yip noted in the comments, Mathworks does not recommend to use the -nojvm flag.

提交回复
热议问题