isnestedfield
Version 1.0.0.0 (1.66 KB) by
Felix
Search for a field name in nested structures, similar to isfield.
Works like isfield, but for nested structures, searching for the field in lower levels, too. The output is a boolean and a cell array containing all locations of the field. Set a max level depth through varargin. or leave empty to go all the way down.
Cite As
Felix (2026). isnestedfield (https://www.mathworks.com/matlabcentral/fileexchange/43190-isnestedfield), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2007b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Structures in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
