determine if matlab text contains certain words