Accessing cells of a cell
조회 수: 2 (최근 30일)
이전 댓글 표시
I have the following cell:
Now, when I open it, you can see the following:
My question is, how can we retrieve all the data of such cell?
Thanks.
채택된 답변
Geoff Hayes
2014년 9월 27일
If cellArray is your cell array as shown above with one element, then to access that element just do
data = cellArray{1};
Here we assume that the cell array has been initialized as something similar to
cellArray{1} = 0.5*ones(128,128);
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Structures에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!