What are these errors on starting up matlab?
    3 views (last 30 days)
  
       Show older comments
    
% 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 Comment
  Andre Jaya
 on 15 Jun 2016
				Yes, I had same problem, and i get rid of this by running matlab as admin.
Answers (1)
  Walter Roberson
      
      
 on 10 Sep 2015
        You need to create the directory C:\Users\Eoghan\AppData\Local\Temp
3 Comments
  Vathsal V S
 on 13 Oct 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
      
      
 on 13 Oct 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
See Also
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!

