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

2 views (last 30 days)
Mads
Mads on 23 Feb 2018
Commented: Jan on 23 Feb 2018
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 Comments
Jan
Jan on 23 Feb 2018
Then I post it as an answer.

Sign in to comment.

Answers (1)

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

Community Treasure Hunt

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

Start Hunting!