MATLAB Answers

Warning: Name is nonexistent or not a directory

4 views (last 30 days)
Alexis Riffard
Alexis Riffard on 3 Oct 2016
Commented: Alexis Riffard on 3 Oct 2016
Hy, I have a problem with my matlab code when i try to run it : Warning: Name is nonexistent or not a directory: /home/psantos/Demos > In path at 110 In shark at 8
I already try to restoredefaultpath; savepath; but its change nothing. I just see that in the path it is /home/psantos/demos with a d and not D but i am new to matlab and i do not really know how it works.
Thank you Thank you

Answers (1)

Todd Flanagan
Todd Flanagan on 3 Oct 2016
If you are in linux or Mac paths are case sensitive.
rmpath('/home/psantos/Demos')
addpath('/home/psantos/demos')
will probably right the ship.
  1 Comment
Alexis Riffard
Alexis Riffard on 3 Oct 2016
Thank you When i write rmpath ('home/psantos/Demos') It tell me Warning: home/psantos/Demos not found in path.
But in the path there is just home/psantos/demos the home/psantos/Demos doesnt exist. Yes i am using Linux

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by