I have problem in accessing nested cell array. How could it be done?
2 ビュー (過去 30 日間)
古いコメントを表示
I have hierarchy of cell data. how can i access each cell a1, a2 so on and can i use these data as type double?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145616/image.jpeg)
Please Help...
0 件のコメント
回答 (1 件)
Guillaume
2014 年 10 月 6 日
Is this what you're asking?
data = {{1 2 3;4 5 6} {7 8 9;10 11 12}} %for example
b1 = data{1}{2, 1};
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!