How to correct this problem?

3 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
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.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by