%% Compare Character Vector to String Scalar
%
% Even though the sizes and data types are different,  isequal returns logical 1 (true) when comparing a character vector and string scalar that contain the same sequence of characters.

isequal("foo",'foo')

% Copyright 2018 The MathWorks, Inc.