string lookup

lookup(c, str) compares the string in str against each element of the cell array c

Vous suivez désormais cette soumission

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.

Citation pour cette source

Phillip M. Feldman (2026). string lookup (https://fr.mathworks.com/matlabcentral/fileexchange/24032-string-lookup), MATLAB Central File Exchange. Extrait(e) le .

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0