mystruc = expstruc(bigstructure);
Recursively expands the structure 'bigstructure' until data is found.
Returns a structure 'mystruc', containing two fields
1. 'name'; cell array of strings of the full name of the field
2. 'type' ; cell array of strings of the type of the field (double, logical, whatever)
Intended to be used with 'eval' for structure concatenation (code to follow).
Andy Clifton (2022). Explode a structure (https://www.mathworks.com/matlabcentral/fileexchange/28946-explode-a-structure), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!