To read a cell array containing multiple cell array.
1 次查看(过去 30 天)
显示 更早的评论
Hi...
I would like to know the answer for my query. I have a cell array containing many cell array but I would like to read only one array at a time and this has to be in loop to read the specific cell array which I would like to read.
Columns 1 through 6 {14X61 cell} {5X61 cell} {2x61 cell} [] [] []
Regards, M. Sarfudeen
0 个评论
回答(1 个)
Michael Haderlein
2014-9-23
编辑:Michael Haderlein
2014-9-23
Do you mean something like
firstcell=myarray{1};
Or, in a loop,
for cnt=1:length(myarray)
thiscell=myarray{cnt};
display(size(thiscell));
end
2 个评论
Michael Haderlein
2014-9-24
How do you decide which cell you want to read? Always the last nonempty cell?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!