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.
Felix (2022). isnestedfield (https://www.mathworks.com/matlabcentral/fileexchange/43190-isnestedfield), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!