Warning: Name is nonexistent or not a directory

6 次查看(过去 30 天)
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

回答(1 个)

Todd Flanagan
Todd Flanagan 2016-10-3
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 个评论
Alexis Riffard
Alexis Riffard 2016-10-3
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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Search Path 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by