root/gliderproc/trunk/MATLAB/util/findstrcell.m
Revision 495 (checked in by cbc, 12 years ago) |
---|
Line | |
---|---|
1 | |
2 | function ind=findstrcell(cel,str); |
3 | |
4 | celstr=char(cel);[nr,nc]=size(celstr); |
5 | |
6 | % add a fakeout newline char |
7 | celstr(:,nc+1)=char(1959); |
8 | ind=unique(floor(findstr(str,celstr)/(nc+1))+1); |
Note: See TracBrowser for help on using the browser.