Output Values from Structure to Cell
Ältere Kommentare anzeigen
I am using a toolbox's function that outputs data into a matrix within a structure. I want my program to automatically extract the values from this "hidden" matrix and add them iteratively to a cell array (i.e., line the column vectors up next to each other). Is this possible? Furthermore, each iteration of my loop would create a "hidden" matrix of the same name--let's call it X. How could I change X's name for each iteration so as to extract unique vectors?
Antworten (1)
Walter Roberson
am 29 Jun. 2015
0 Stimmen
sounds like struct2cell() might be what you are looking for.
1 Kommentar
Max Aragon
am 29 Jun. 2015
Kategorien
Mehr zu Data Types finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!