Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
初级会员
注册日期: 2010-12-28
帖子: 1
声望力: 0 ![]() |
![]()
执行语句:
1,前一个m文件最后执行了save(icon_file_names{i}, 'descriptor_neimat');语句将许多矩阵descriptor_neimat 分别存入了‘Context_*.mat’文件中(*为数字)。 2,后面的m文在执行load 时执行了下面语句 %% Load up all interest points from allimages.... for i = 1:nImages_tra %% load up all interest points load(icon_file_names{i}); %%此行出错 [M,N] = size(descriptor_neimat); k= randperm(N); all_descriptors =[all_descriptors,descriptor_neimat(:,k(1,1:Context.pca_p))]; end 出现错误为: Error using ==> load Can't read file D:\program files\matlab\2008a\work\xiaolei\common\Context\Context_0333.mat Error in ==> do_pca at 29 load(icon_file_names{i}); 显示无法读取该文件。 直接打开这个文件时,里面没有数据,应该是没有存入吧,是存入时的问题? 周围其它的mat文件都没有问题。但每次执行时候出错的文件并不是固定的,总是会随机出现一两个这种里面没有数据的mat文件,我下面的程序也没办法执行。 而且我在其它电脑上执行这些m文件时并不会出现这样的错误,请见过类似问的帮帮忙啊~ 非常着急,请高手帮帮忙啊~ |
![]() |
![]() |