how to remove this error please some one help me
5 views (last 30 days)
Show older comments
Error in load_database (line 9)
cd(strcat('att_faces',num2str(i)));
0 Comments
Answers (1)
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.
0 Comments
See Also
Categories
Find more on File Operations in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!