Matlab GUI will no longer open from terminal

115 次查看(过去 30 天)
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?

回答(1 个)

Shubham Khatri
Shubham Khatri 2020-10-11
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 个评论
Lutrinae
Lutrinae 2020-11-10
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by