convert struct2mat
Show older comments
I have a struct.I want convert this struct to matrix. I used the
cell2mat( struct2cell( YourStructure ) )
command and I got that error
Error using class
Not enough input arguments.
My struct name is 'class'. I used this
cell2mat(struct2cell(class)).
1 Comment
Accepted Answer
More Answers (1)
Sandra Maria Cherian
on 23 Jun 2018
0 votes
I am also facing the same problem. The code cell2mat(struct2cell(structure)) is not working for me. It is showing error message.Did you get your code working?
1 Comment
z donyavi
on 23 Jun 2018
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!