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

版本 1.0.0.0 (6.1 KB) 作者: Bob Spunt
Recursively print/display hierarchical outline of structure contents
1.1K 次下载
更新时间 2022/12/28

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

引用格式

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

MATLAB 版本兼容性
创建方式 R2015a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Structures 的更多信息

Community Treasure Hunt

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

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.0.0.0

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

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库