How to correct this problem?

2 views (last 30 days)
Shaila parvin
Shaila parvin on 9 May 2014
Commented: Image Analyst on 18 Nov 2018
Hi,
I'm new in MATLAB. I downloaded a face recognition matlab source code from this site. When I run this code, this error massage is shown.
Error using cd
Cannot CD to s1 (Name is nonexistent or not
a directory).
Error in load_database (line 9)
cd(strcat('s',num2str(i)));
How to solve it?

Answers (1)

dpb
dpb on 9 May 2014
Fixup the directory structure to match that of the downloaded app or change the directory string apparently stored in s1 to match your location as needed.
  3 Comments
dpb
dpb on 18 Nov 2018
The solution is given above -- we can't tell you what to type, we can't see your terminal from here to know what is the expected directory structure nor what yours is, instead.
Image Analyst
Image Analyst on 18 Nov 2018
The folder simply does not exist. The solution / fix is given here: in the FAQ

Sign in to comment.

Categories

Find more on Downloads in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!