flattern_struct(input, name)
Version 1.2.0.0 (667 Bytes) von
uathena
flattern a struct with unknown numbers of nested structs
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.
Zitieren als
uathena (2026). flattern_struct(input, name) (https://de.mathworks.com/matlabcentral/fileexchange/64057-flattern_struct-input-name), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2017a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Mehr zu Structures finden Sie in Help Center und MATLAB Answers
Tags
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.2.0.0 | fix a bug with string compare |
||
| 1.1.0.0 | add comments about input |
||
| 1.0.0.0 |
