What are these errors on starting up matlab?

2 Ansichten (letzte 30 Tage)
Eoghan Daly
Eoghan Daly am 10 Sep. 2015
Bearbeitet: Walter Roberson am 15 Jun. 2016
% Brand new to MATLAB (student version) and when I switch it on the following errors appear:
Error using cd
Cannot CD to C:\Users\Eoghan\AppData\Local\Temp (Name is nonexistent or not a directory).
Error in tempdir (line 30)
curr_dir = cd(tmp_dir);
Error in findLogStream (line 13)
Error in setupConnector>localDisableConsoleLogging (line 42)
Error in setupConnector (line 30)
Error in performConnectorAction>startService (line 105)
Error in performConnectorAction (line 13)
Error in connectorHandler>performAction (line 69)
Error in connectorHandler (line 28)
Error in connector (line 10)
connectorHandler(action, varargin{:});
Error in connector.internal.autostart.run (line 10)
% the temp folder does exist
% Anyone any idea what I should do?
  1 Kommentar
Andre Jaya
Andre Jaya am 15 Jun. 2016
Yes, I had same problem, and i get rid of this by running matlab as admin.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 10 Sep. 2015
You need to create the directory C:\Users\Eoghan\AppData\Local\Temp
  3 Kommentare
Vathsal V S
Vathsal V S am 13 Okt. 2015
Hi, even I am facing the same issue with the student version(academic license) - It says directory access failure, but on checking, the directory seems to be present in the specified path its looking for ! Any workaround for this ?
Walter Roberson
Walter Roberson am 13 Okt. 2015
I suggest experimenting with setting the TEMP environment variable to a different directory.
You can look at the source for tempdir to see how it derives the locations.
type tempdir

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by