how to remove this error please some one help me

2 次查看(过去 30 天)
Error in load_database (line 9)
cd(strcat('att_faces',num2str(i)));

回答(1 个)

Walter Roberson
Walter Roberson 2015-9-17
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.

类别

Help CenterFile Exchange 中查找有关 File Operations 的更多信息

标签

尚未输入任何标签。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by