필터 지우기
필터 지우기

Accessing cells of a cell

조회 수: 2 (최근 30일)
med-sweng
med-sweng 2014년 9월 27일
댓글: Image Analyst 2014년 9월 27일
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
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개)

카테고리

Help CenterFile Exchange에서 Structures에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by