StructFind

Find all fields within a struct (array) where the search pattern is found
ダウンロード: 735
更新 2012/2/10

ライセンスの表示

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.

引用

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

MATLAB リリースの互換性
作成: R2011b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersStructures についてさらに検索
謝辞

ヒントを得たファイル: structfind

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0