Al momento, stai seguendo questo contributo
- Vedrai gli aggiornamenti nel tuo feed del contenuto seguito
- Potresti ricevere delle email a seconda delle tue preferenze per le comunicazioni
Example:
nestedStruct = struct(...
'Subject', struct('Age', 25, 'Species', 'Mouse'), ...
'Experiment', struct('Date', '2023-01-01', 'Location', 'Lab') );
s = NestedStruct(nestedStruct);
>> s
s =
NestedStruct with properties:
Subject:
Age: 25
Species: 'Mouse'
Experiment:
Date: '2023-01-01'
Location: 'Lab'
Ideas:
- Better display for struct with mix of substructs and values which are not struct
- Support for multiple nesting levels (if possible?)
Cita come
Eivind Hennestad (2026). NestedStruct - Represent a nested struct (https://it.mathworks.com/matlabcentral/fileexchange/156199-nestedstruct-represent-a-nested-struct), MATLAB Central File Exchange. Recuperato .
Informazioni generali
- Versione 1.0.2 (2,49 KB)
Compatibilità della release di MATLAB
- Compatibile con R2021b e release successive
Compatibilità della piattaforma
- Windows
- macOS
- Linux
