Clear Filters
Clear Filters

Matlab GUI will no longer open from terminal

125 views (last 30 days)
Lutrinae
Lutrinae on 2 Oct 2020
Commented: Lutrinae on 10 Nov 2020
I have been remote accessing a computer that holds the data and programs I need to do my analysis. For the past few months, I cd into my personal directory and enter
matlab2020a
and the Matlab GUI opens. Earlier today, everything was running as usual, but this afternoon I ran the same command to open matlab, but not the GUI does not open. It opens a 'headless' version. I have tried
matlab2020a -desktop
but the GUI still will not open. Any thoughts on how to remedy this and why it may have suddenly changed?

Answers (1)

Shubham Khatri
Shubham Khatri on 11 Oct 2020
Please try the following steps.
a. Type the following commands in this sequence and check if it resolves the issue.
  1. Restoredefaultpath
  2. Rehash toolboxcache
  3. Savepath
  4. Matlab -dektop
b. Try checking your startup files, matlabrc files and check whether the remote connection, if any, are configured to forward display.
c. Please go through the following answer and see if it helps
  1 Comment
Lutrinae
Lutrinae on 10 Nov 2020
Thank you for the help! It ended up being an issue that was changed by the administrator that required a simple restart on their end.

Sign in to comment.

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!