flattern_struct(inp​ut, name)

Version 1.2.0.0 (667 octets) par uathena
flattern a struct with unknown numbers of nested structs
26 téléchargements
Mise à jour 17 août 2017

Afficher la licence

for example:
input.field1 = struct()
input.field1.field2 = struct()
...
flattern the struct so it only has one layer, then you can convert it to cell/table etc.

Citation pour cette source

uathena (2026). flattern_struct(input, name) (https://fr.mathworks.com/matlabcentral/fileexchange/64057-flattern_struct-input-name), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2017a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Structures dans Help Center et MATLAB Answers
Version Publié le Notes de version
1.2.0.0

fix a bug with string compare

1.1.0.0

add comments about input

1.0.0.0