%% Convert String Array to Cell Array
% You can create string arrays to contain multiple pieces of text. However, you might need to use functions that accept cell arrays of character vectors as input arguments, and that do not accept string arrays. To pass data from a string array to such functions, use the cellstr function to convert the string array to a cell array of character vectors.
% Create a string array. Starting in R2017a, you can create strings using double quotes.

A = ["Past","Present","Future"]

%
% Convert the string array to a 1-by-3 cell array of character vectors.

C = cellstr(A)

% Copyright 2012 The MathWorks, Inc.