Matlab is starting with no GUI (linux). I would like a GUI.

Hello --
I am trying to start matlab from the command line in linux. I just use a "matlab" symlink to run /usr/local/MATLAB/R2015b/bin/matlab. This starts headless matlab. I am NOT putting in "-nodisplay" or "-nodesktop". I actually do want the GUI and have had that run by default previously.
Any tips?
Thank you, Mike

4 Comments

Hi Michael,
Please check the .matlab7rc.sh startup file Also, try using the -desktop flag while starting it
Hope this helps
-Shashank
Are you possibly remotely connecting to MATLAB, such as with rsh? If so then it could be an issue about getting the DISPLAY environment variable right.
@Shashank , I do not have this file. There can I get it and where shouls I put it?
matlab looks in these folders for the first occurrence of .matlab7rc.sh in the following order:
  1. Current folder
  2. Home folder ($HOME)
  3. matlabroot/bin folder
To edit the .matlab7rc.sh file, use the template located in the matlabroot/bin folder.

Sign in to comment.

Answers (0)

Categories

Asked:

on 10 Nov 2017

Commented:

on 23 Apr 2025

Community Treasure Hunt

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

Start Hunting!