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 件のコメント
Walter Roberson
Walter Roberson 2016 年 1 月 13 日
Try running
connector off
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 Center および File ExchangeStartup and Shutdown についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by