Changing dimensions of a cell array
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Chris Dan
am 2 Feb. 2020
Kommentiert: Chris Dan
am 3 Feb. 2020
Hey guys,
I have a cell array called "MD", attaching picture
it is a 1x2 cell, I want to make it 2x1 cell array, because then I would be able to convert it into a struct using this code
fields = {'model_data'};
Body_Data =cell2struct(MD,fields,2);
Does anybody know how to change the dimensions of the cell array?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Data Types finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!