How Do I Run Matlab from Terminal in Linux?
Contents

To start MATLAB® on Linux platforms, type matlab at the operating system prompt. If you did not set up symbolic links in the installation procedure, then type matlabroot /bin/matlab . matlabroot is the name of the folder in which you installed MATLAB.

How do I run Matlab from the command line?

To start MATLAB from a DOS window running inside Windows, do the following:

  1. Open a DOS prompt.
  2. Change directories to $MATLABROOTbin. (where $MATLABROOT is the MATLAB root directory on your machine, as returned by typing. Try in MATLAB Mobile. matlabroot. at the MATLAB Command Prompt.)
  3. Type “matlab”

How do I open Matlab in Ubuntu terminal?

Open a terminal, cd /usr/local/MATLAB/R2020b/bin, then type ./matlab to open Matlab desktop.

Chloe Bennett

Chloe Bennett

Culture, Media & Entertainment Columnist

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.

Share this article
Twitter Facebook Pinterest