put a struct element in a table?
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Budding MATLAB Jockey
el 24 de Mayo de 2020
Editada: Budding MATLAB Jockey
el 24 de Mayo de 2020
Hi there I am making a table as a summary/record of my data im working on.
I also have struct arrays for each data point, that I would like to log to my table.
Is it possible to send a portion of my existing struct array to a single element of my table? I can't figure this out.
The struct array is also of varying size on each data point (which is why I just want to put the whole thing in the table)
For example I would want my table to be something like:
Name1 Name2 Emails Company
abc xyz Nx1 Struct CharArrayFromStruct
I attached an example data point I am working with. Where I would want to save
Name1 Name2 Emails Company
abc xyz response.data.emails response.data.organization
where response.data.emails is an Nx1 struct and response.data.organization is always 1 char array
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Structures en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!