%% Process and Return Multiple Inputs
% Process an arbitrary number of input arrays of different types.
% Create an array of doubles, a structure, and a cell array. The structure and cell array contain strings, specified using double quotes.

x = linspace(0,2*pi,8);
S.y = sin(x);
S.title = "y = sin(x)";
C = {{sin(x),"y = sin(x)"},{cos(x),"y = cos(x)"}};

%
% Convert the strings and return all other data unaltered.

[x,S,C] = convertContainedStringsToChars(x,S,C)

%
% Display the contents of the cell array contained in the first cell, C(1). The function converts strings that are in nested cells or nested structures to character vectors. Note that character vectors display with single quotes.

C{1}

%
% Copyright 2018 The MathWorks, Inc.