d@0: function [indices] = findInCellArray(cellArray, column, string) d@0: d@0: trackList = [cellArray{:,column}]; d@0: indexArray = strfind(trackList,string); d@0: indices = []; d@0: for i = 1:size(indexArray,2) d@0: if (indexArray{i} == 1) d@0: indices = cat(2,indices,i); d@0: end d@0: end d@0: end