D:\MATLAB7\work\s001.m Line: 5 Column: 40 Missing MATLAB operator.错误了怎么办%提取ORL人连库上每幅人脸图像研究位置的坐标,保持在eyelocsdirectory_list=dir('D:\MATLAB7\work\orl_faces\*.pgm')nfiles=length(directory_list);axis
来源:学生作业帮助网 编辑:作业帮 时间:2024/12/01 01:13:08
D:\MATLAB7\work\s001.m Line: 5 Column: 40 Missing MATLAB operator.错误了怎么办%提取ORL人连库上每幅人脸图像研究位置的坐标,保持在eyelocsdirectory_list=dir('D:\MATLAB7\work\orl_faces\*.pgm')nfiles=length(directory_list);axis
D:\MATLAB7\work\s001.m Line: 5 Column: 40 Missing MATLAB operator.错误了怎么办
%提取ORL人连库上每幅人脸图像研究位置的坐标,保持在eyelocs
directory_list=dir('D:\MATLAB7\work\orl_faces\*.pgm')
nfiles=length(directory_list);
axis i j;
I=pgmRead(['D:\MATLAB7\work\orl_faces\'directory_list(i).name]);
Images=zeros(size(I,1),size(I,2),nfiles);
速求,该如何解决啊
D:\MATLAB7\work\s001.m Line: 5 Column: 40 Missing MATLAB operator.错误了怎么办%提取ORL人连库上每幅人脸图像研究位置的坐标,保持在eyelocsdirectory_list=dir('D:\MATLAB7\work\orl_faces\*.pgm')nfiles=length(directory_list);axis
I=pgmRead(['D:\MATLAB7\work\orl_faces\'directory_list(i).name]);
matlab里有这个函数吗pgmRead?是用户自编函数吧
'D:\MATLAB7\work\orl_faces\'directory_list(i).name这个是路径吗?
这个‘’内部都是路径,后面的是参数吗?中间是不是少了个,
I=pgmRead(['D:\MATLAB7\work\orl_faces\',directory_list(i).name]);
试试看吧.