count_struct_nodes(​a_struct)

Version 1.0.0.0 (1.06 KB) by Ben
Count the number of elements in a struct
58 Downloads
Updated 18 Aug 2015

View License

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 Linux
Categories
Find more on Structures in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0