错误:“将单元内容分配给非单元阵列对象". [英] Error: "Cell contents assignment to a non-cell array object."

查看:80
本文介绍了错误:“将单元内容分配给非单元阵列对象".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

K = MENU(''Choose a file'',''Test A'',''Test V'',''Test L'',''Test 1'',''Test From other DBs'');
if K == 1
loop=3
for i=1:loop
string = [''G:\Test\A.tif''];
Rimages{i} = imread(string);

end

elseif K == 2
loop=7
for i=1:loop
string = [''G:\Test\V.tif''];
Rimages{i} = imread(string);
end

elseif K == 3
loop=5
for i=1:loop
string = [''G:\Test\L.tif''];
Rimages{i} = imread(string);
end
elseif K == 4
loop=5
for i=1:loop
string = [''G:\Test\1.tif''];
Rimages{i} = imread(string);
end

elseif K == 5
loop=13
for i=1:loop
string = [''G:\Test\otherdb.tif''];
Final Report - Hand Gesture Recognition using Neural Networks 62
Rimages{i} = imread(string);
end
end
imshow(Rimages{i})

T{i} = imresize(Rimages{i},[126 126]);
figure,imshow(T{i})


运行该程序后,出现错误将单元格内容分配给非单元格数组对象."
有人可以帮我解决这个问题吗?

[edit]主题已更改为有意义的主题:请使它们具有描述性,对任何人来说请帮助"都不会太多使用-OriginalGriff [/edit]


After running this program Ihave got error "Cell contents assignment to a non-cell array object."
Can anybody please help me to solve this problem?

[edit]Subject changed to meaningful: please make them descriptive, "please help" is not a lot of use to anyone - OriginalGriff[/edit]

推荐答案

线程

Matlab-来自非单元格数组对象的单元格内容引用 [ ^ ]
Check this thread

Matlab - Cell contents reference from a non-cell array object[^]


这篇关于错误:“将单元内容分配给非单元阵列对象".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆