PRINTSTRUCT | Recursively print structures to the command window or a cell char array

Version 1.0.0.0 (6,1 KB) von Bob Spunt
Recursively print/display hierarchical outline of structure contents
1,2K Downloads
Aktualisiert 28. Dez 2022

Recursively print hierarchical outline of structure contents. This is a minor adaptation of the File Exchange contribution "Structure outline" written by B. Roossien. Changes include:
- automatic determination of input structure variable name, which is used to title each struct
- included output argument that, when defined, returns the printed struct as char cell array and suppresses output to command window
- input specification and defining default values is easier and more flexible
- (possibly) better handling of structure arrays

Zitieren als

Bob Spunt (2024). PRINTSTRUCT | Recursively print structures to the command window or a cell char array (https://github.com/spunt/printstruct), GitHub. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2015a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Structures finden Sie in Help Center und MATLAB Answers
Quellenangaben

Inspiriert von: Structure display

Inspiriert: Analytic Hierarchy Process for spatial planning

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Versionen, die den GitHub-Standardzweig verwenden, können nicht heruntergeladen werden

Version Veröffentlicht Versionshinweise
1.0.0.0

No update to source code. Just added tags to help folks find it.
Modified title.

Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.
Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.