Need help concatenating data with struct field name?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
flemingtb
am 5 Nov. 2018
Beantwortet: flemingtb
am 5 Nov. 2018
I have a struct (s) with Field (name) i'm looking to create a 'name' array so that i can concatenate it with data. the field 'name' is file names and the data is range values calculated from each file.
How can i place the files names in column (1) and the range values that go with each name in column (2)?
2 Kommentare
Stephen23
am 5 Nov. 2018
I know the field names for the struct. I tried
F = theFiles.name
that only gives me the name of the first filename in the column.
I also tried
F = ([theFiles.name])
Which is closer, it lists all of the file names but they are not indexed, they are displayed like a huge string.
Akzeptierte Antwort
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Structures 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!