Switch to full style
General MATLAB code examples.
Post a reply

search for string in a cell array

Sun Dec 25, 2011 2:15 am

search for string in a cell array in MATLAB using the following code :

Code:


[i,j]=ind2sub(size(yourcellArray), strmatch(FoundLabel, yourcellArray, 'exact'))


This code return index (x,y) if your string is found in the cell array.



Post a reply
  Related Posts  to : search for string in a cell array
 search in a string and replace     -  
 Search in a string using FILTER function     -  
 A simple search page using Google AJAX Search API     -  
 how to build cell phone app     -  
 hide cell in table     -  
 Table with marked cell     -  
 Communication from pc to cell phone     -  
 J2ME web cam view in my cell phone     -  
 J2ME web cam view in my cell phone(may b bluetooth or ir)     -  
 how to make an application in java for cell phone.     -  

Topic Tags

Matlab Basics