string lookup

lookup(c, str) compares the string in str against each element of the cell array c
ダウンロード: 1.7K
更新 2009/5/7

ライセンスの表示

OVERVIEW

lookup(c, str) compares the string in str against each element of the cell array c in turn. If str is found in any element of c, the index of the first such element is returned. Otherwise, the value zero is returned.

INPUTS

c: A one-dimensional cell-array. Each element of this cell array is either a character string, or another one-dimensional cell-array containing character strings. Note: Deeper nesting of cell arrays is not supported.

引用

Phillip M. Feldman (2024). string lookup (https://www.mathworks.com/matlabcentral/fileexchange/24032-string-lookup), MATLAB Central File Exchange. 取得済み .

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

Community Treasure Hunt

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

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