StructFind

Find all fields within a struct (array) where the search pattern is found
736 download
Aggiornato 10 feb 2012

Visualizza la licenza

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.

Cita come

Alexander Mering (2024). StructFind (https://www.mathworks.com/matlabcentral/fileexchange/35022-structfind), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2011b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Structures in Help Center e MATLAB Answers
Riconoscimenti

Ispirato da: structfind

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0