MATLAB Answers

Warning: Name is nonexistent or not a directory

조회 수: 1(최근 30일)
Alexis Riffard
Alexis Riffard 2016년 10월 3일
댓글: Alexis Riffard 2016년 10월 3일
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

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by