Use strncmp instead, which has a different return type
http://www.mathworks.com/help/techdoc/ref/strmatch.html