How to convert a mixed array to cell array
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Kanakaiah Jakkula
am 28 Mai 2016
Kommentiert: Star Strider
am 28 Mai 2016
Hi,
I have a mixed array (cell, numeric, string), but I eventually want to convert all to cell. Can any one tell how to do this.
Thanks,
0 Kommentare
Akzeptierte Antwort
Star Strider
am 28 Mai 2016
2 Kommentare
Star Strider
am 28 Mai 2016
Without seeing it I cannot say for sure. There are simply too many possibilities to cover them all.
Something like this would be the simplest approach:
Everything = {Cell_Array, {Double_array}, {String_Array}};
Experiment with that (and refer to the documentation link I provided) to get the result you want.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical 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!