Link Search Menu Expand Document

Searching

Find cells that include a character array

Given a cell array x, find the indices of the cells that include the character array y

find(cellfun(@(x) ~isempty(x), strfind(x,y)))


Written by the Campbell Muscle Lab