Changing dimensions of a cell array
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Types dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!