I have problem in accessing nested cell array. How could it be done?

1 次查看(过去 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?
Please Help...

回答(1 个)

Guillaume
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};

类别

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