How to correct this problem?

1 回表示 (過去 30 日間)
Shaila parvin
Shaila parvin 2014 年 5 月 9 日
コメント済み: Image Analyst 2018 年 11 月 18 日
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 日
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 件のコメント
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

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

カテゴリ

Help Center および File ExchangeDownloads についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by