www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/FindCharactersInStringExample.m
%% Find Characters % Create a character vector. M = 'masterpiece'; %% % Test for the presence of a specific character using |==|. M == 'e' %% % The value of logical |1| (|true|) indicates the presence of the character % |'e'|.