Matlab is starting with no GUI (linux). I would like a GUI.
Show older comments
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
Shashank
on 13 Nov 2017
Hi Michael,
Please check the .matlab7rc.sh startup file Also, try using the -desktop flag while starting it
Hope this helps
-Shashank
Walter Roberson
on 13 Nov 2017
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.
Dmitry Boltyanskiy
on 23 Apr 2025
@Shashank , I do not have this file. There can I get it and where shouls I put it?
Walter Roberson
on 23 Apr 2025
matlab looks in these folders for the first occurrence of .matlab7rc.sh in the following order:
- Current folder
- Home folder ($HOME)
- matlabroot/bin folder
To edit the .matlab7rc.sh file, use the template located in the matlabroot/bin folder.
Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!