how to access Cell data
古いコメントを表示
Hello, I have cell array of dimension 200*1 which contains information about an image. I want to store the data of a variable in the cell to a new variable. The cell is of type uint 8.
for example x = sensorscan{1,1}.data.sensor1; the above line stores the value of sensor1 in x.
But now I want that it should run for the entire cell array that is {200*1}. I have tried using for loop but it gives me an error. Regards
2 件のコメント
Image Analyst
2013 年 5 月 16 日
Do you think that if you shared the error message (all the red text in the command window) that someone might actually be able to suggest a solution?
Jatin Arora
2013 年 5 月 16 日
採用された回答
その他の回答 (1 件)
Thomas
2013 年 5 月 16 日
0 投票
This link gives good examples about accessing cell data http://www.mathworks.com/help/matlab/matlab_prog/access-data-in-a-cell-array.html
カテゴリ
ヘルプ センター および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!