\\thispc\scripts and c:\scripts not the same?

1 回表示 (過去 30 日間)
Mads
Mads 2018 年 2 月 23 日
コメント済み: Jan 2018 年 2 月 23 日
I tried to set the path for my scripts folder "scripts" on the c: drive. However, my program using the scripts couldn't find the scripts, not until I set the path to the scripts folder through finding the pc on the network list. I mean why will matlab not be able to find the scripts path if it set using the good old c:-path? Why does it need to be wired through the network to the same pc to be able to find the folder?
Is
\\thispc\scripts
and
c:\scripts
not the same?
  6 件のコメント
Mads
Mads 2018 年 2 月 23 日
Everything is confusing to me as well. Everything is normal, no links, no shared folders. It is present on the drive as a normal folder.
You final solution works! I now have the scripts folder listed just as supposed to be.
Thanks for your time and help
Jan
Jan 2018 年 2 月 23 日
Then I post it as an answer.

サインインしてコメントする。

回答 (1 件)

Jan
Jan 2018 年 2 月 23 日
It is not clear, what went wrong, but this should work:
addpath('C:\scritps', '-end');
savepath

カテゴリ

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