Clear Filters
Clear Filters

convert struct of cell in a matrix of cell

1 view (last 30 days)
Hi,
there is a way to convert the struct of cell (attached) in a matrix of cell?
thanks

Accepted Answer

Guillaume
Guillaume on 27 Apr 2017
Edited: Guillaume on 28 Apr 2017
Are you looking for
{L1.l} %for row vector of cells
or something more complex?
  4 Comments
Stephen23
Stephen23 on 28 Apr 2017
Why is this data not stored in a cell array in the first place? There is only one field in the structure, which totally defeats the purpose of using a structure.
elisa ewin
elisa ewin on 9 May 2017
If I have semanticTrajCluster.cluster.locID (attached), how can I make the same thing?

Sign in to comment.

More Answers (0)

Categories

Find more on Structures in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!