Effacer les filtres
Effacer les filtres

put a struct element in a table?

2 vues (au cours des 30 derniers jours)
Budding MATLAB Jockey
Budding MATLAB Jockey le 24 Mai 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

Réponses (0)

Catégories

En savoir plus sur Structures dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by