strfind.m

Cell array implementation of STRFIND

You are now following this Submission

K = STRFIND(STRS,STR) looks through the rows of the cell array of strings STRS to find strings that contain the string STR, returning the matching row indices.

Functions very much like STRMATCH with a cell array input, except STRMATCH is limited to whenever the cell array string begins with STR.

Unlike STRMATCH, it does not work with a char array input. I think this is a limitation of the Matlab function STRFIND.

Cite As

Tom Coulter (2026). strfind.m (https://www.mathworks.com/matlabcentral/fileexchange/9008-strfind-m), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0