Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
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?)
Zitieren als
Eivind Hennestad (2026). NestedStruct - Represent a nested struct (https://de.mathworks.com/matlabcentral/fileexchange/156199-nestedstruct-represent-a-nested-struct), MATLAB Central File Exchange. Abgerufen .
Allgemeine Informationen
- Version 1.0.2 (2,49 KB)
Kompatibilität der MATLAB-Version
- Kompatibel mit R2021b und späteren Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.0.2 | Fields that are not substructs are added as dynamic properties and displayed normally.
|
||
| 1.0.1 | Update description |
||
| 1.0.0 |
