how to remove this error please some one help me

5 views (last 30 days)
Error in load_database (line 9)
cd(strcat('att_faces',num2str(i)));

Answers (1)

Walter Roberson
Walter Roberson on 17 Sep 2015
The code is expecting to be able to change directory to a subdirectory directly under the current one, with the subdirectory named att_faces followed by a number with no leading zeros. Either that directory is missing or else you started running the code from the wrong folder or else the code is forgetting to cd() back to the original directory before trying to cd() again.

Categories

Find more on File Operations in Help Center and File Exchange

Tags

No tags entered yet.

Products

Community Treasure Hunt

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

Start Hunting!