本文介绍了在没有图形环境的Linux中运行Matlab?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将使用SSH在远程Linux服务器上运行Matlab程序。
我想知道如何在Linux中只使用命令行运行Matlab,这意味着没有图形环境。

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 environment?

谢谢。

推荐答案

使用以下标志启动MatLab

Start MatLab with the the following flags

matlab -nodesktop -nojvm -nosplash




  • -nodesktop 防止桌面

    -nojvm Java虚拟机

    -nosplash 可防止启动初始屏幕。

    -nosplash prevents the start-up splash screen.

    请注意,正如Li-aung Yip在评论中指出的,Mathworks不建议使用 -nojvm 标志。

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

    这篇关于在没有图形环境的Linux中运行Matlab?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-02 13:41