Code covered by the BSD License  

Highlights from

Be the first to rate this file! 16 Downloads (last 30 days) File Size: 1.76 KB File ID: #35022 Version: 1.0




Find all fields within a struct (array) where the search pattern is found

| Watch this File

File Information

Function to search for entries within a structure. This is done recursively, running through all elements of array-structures.


      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


      structure_name: name of the structure to be searched. Used for full output of the structure content


      FoundFields: Cell array of fields where the search object is found.


Structfind inspired this file.

MATLAB release MATLAB 7.13 (R2011b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us