StructFind
Function to search for entries within a structure. This is done recursively, running through all elements of array-structures.
Input:
search_struct: structure to be searched, could also be array of struct
search_object: string, integer, cell, array or other thing to be searched for
[optional]
structure_name: name of the structure to be searched. Used for full output of the structure content
Output:
FoundFields: Cell array of fields where the search object is found.
Cite As
Alexander Mering (2026). StructFind (https://www.mathworks.com/matlabcentral/fileexchange/35022-structfind), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: structfind
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
