error on startup: "Error using connector.​internal.a​utostart.r​un"

조회 수: 16 (최근 30일)
Jonas Keller
Jonas Keller 2016년 1월 13일
편집: Jonas Keller 2016년 2월 11일
##edit problem solved- there was a system variable defined as TEMP = "459,9" and after deletion everything works again.
upon start matlab displays following error:
Error using connector.internal.autostart.run
Cannot CD to 459,9 (Name is nonexistent or not a directory).
I tried to reinstall Matlab but it is still broken.
Maybe following querry can help:
>> which -all cd
built-in (C:\Program Files\MATLAB\R2015b\toolbox\matlab\general\cd)
C:\Program Files\MATLAB\R2015b\toolbox\matlab\iofun\@ftp\cd.m % ftp method
C:\Program Files\MATLAB\R2015b\toolbox\idelink\extensions\ticcs\@ccsdebug\cd.m % ccsdebug method
  댓글 수: 2
Jonas Keller
Jonas Keller 2016년 1월 13일
Thanks for the fast answer, but matlab now fails to start the parpool, i get following error (do_proc.m is my current script):
Warning: Unable to calculate the dependencies of the files:
C:\Program Files\MATLAB\R2015b\toolbox\distcomp\@distcomp\nop.m
because:
Cannot CD to 459,9 (Name is nonexistent or not a directory).
> In parallel.internal.apishared.AttachedFiles.calculateAttachedFiles (line 289)
In parallel.Task/hCalculateDependentFiles (line 619)
In parallel.Task/hCalculateAndCacheDependentFiles (line 637)
In parallel.Job>@(t)t.hCalculateAndCacheDependentFiles(taskFunctionCache) (line 695)
In parallel.Job/attachRequiredFiles (line 694)
In parallel.Job/submit (line 304)
In parallel.internal.pool.InteractiveClient/start (line 330)
In parallel.Pool>iStartClient (line 547)
In parallel.Pool.hBuildPool (line 439)
In parallel.internal.pool.doParpool (line 15)
In parpool (line 89)
In parallel.internal.pool.PoolArrayManager.getOrAutoCreateWithCleanup (line 49)
In pctTryCreatePoolIfNecessary (line 23)
In distcomp.remoteparfor.tryRemoteParfor
In parallel_function (line 433)
In do_proc (line 131)

댓글을 달려면 로그인하십시오.

답변 (2개)

Tushar Sinha
Tushar Sinha 2016년 1월 15일
Hi Jonas,
"Error using connector.internal.autostart.run Cannot CD to 459,9 (Name is nonexistent or not a directory)."
These error messages are typically displayed when MATLAB does not have read-write access to the temporary folder. Change the permissions to this folder as an administrator and the issue should be resolved.
Thanks,
Tushar
  댓글 수: 1
Jonas Keller
Jonas Keller 2016년 2월 3일
Thank you, Matlab on my working station has full access to all avaible folders. Furthermore I have searched my entire workingstation and the accessable intranet for a folder named '459*' and there is no such folder. Therefore I assume that I have somehow managed to tell matlab to search for such a folder (459,9K is the Temperatur many of my samples have been measured, so I had to type 459,9 very often). Can you/someone tell me where I can add such a path/how to remove it?
as Walter Roberson told me I turned off the connector, but now i am no longer able to use the parpool/parfor options

댓글을 달려면 로그인하십시오.


Jonas Keller
Jonas Keller 2016년 2월 10일
push
Thank you, Matlab on my working station has full access to all avaible folders. Furthermore I have searched my entire workingstation and the accessable intranet for a folder named '459*' and there is no such folder. Therefore I assume that I have somehow managed to tell matlab to search for such a folder (459,9K is the Temperatur many of my samples have been measured, so I had to type 459,9 very often). Can you/someone tell me where I can add such a path/how to remove it?
as Walter Roberson told me I turned off the connector, but now i am no longer able to use the parpool/parfor options
  댓글 수: 3
Walter Roberson
Walter Roberson 2016년 2월 10일
What is the result of executing
tempdir
?
What does
getenv('TEMP')
show?
Jonas Keller
Jonas Keller 2016년 2월 11일
편집: Jonas Keller 2016년 2월 11일
>> tempdir
Error using cd Cannot CD to 459,9 (Name is nonexistent or not a directory).
Error in tempdir (line 30) curr_dir = cd(tmp_dir);
>> getenv('TEMP')
ans =
459,9
################
somehow, i have created a system variable with the value TEMP = "459,9". I have deleted this variable and now everything works fine.
Thank you all for your answers!

댓글을 달려면 로그인하십시오.

카테고리

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