If I\'m using a char string as the needle and a cell array of chars as the haysack, would the following achieve the same results every time? I\'m looking at their d
strmatch is not recommended. Use strncmp or validatestring instead. strmatch will be removed from a future version of matlab.
*Warning given in Matlab 2017 a.