How to correct this problem?

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?

回答 (1 件)

dpb
dpb 2014 年 5 月 9 日

0 投票

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 件のコメント

louati arij
louati arij 2018 年 11 月 18 日
i have the same issue please if you find the solution share it to me and thanks
dpb
dpb 2018 年 11 月 18 日
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 2018 年 11 月 18 日
The folder simply does not exist. The solution / fix is given here: in the FAQ

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeDownloads についてさらに検索

タグ

質問済み:

2014 年 5 月 9 日

コメント済み:

2018 年 11 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by