count_struct_nodes(a_struct)
Version 1.0.0.0 (1.06 KB) by
Ben
Count the number of elements in a struct
Count the number of elements in a struct that are not themselves structs, i.e. are leaves
Cite As
Ben (2024). count_struct_nodes(a_struct) (https://www.mathworks.com/matlabcentral/fileexchange/52548-count_struct_nodes-a_struct), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2012b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Structures in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |