Clear Filters
Clear Filters

How can I call all element from cell class ?

1 view (last 30 days)
ha ha
ha ha on 28 Nov 2017
Answered: KL on 28 Nov 2017
Let's say:
A : 1x3 cell class
A={cell_1, cell_2, cell_3, }
A={[2x1 double],[5x1 double],[1x1 double]}
cell_1 [999;222]
cell_2 [444;123;2000;789;1000]
cell_3 [5000]
Question: How can I call all element from cell A?
result=[999;222;444;123;2000;789;1000;5000]

Accepted Answer

KL
KL on 28 Nov 2017
cat(1,A{:})

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!