%% Create Structure from Text File
% Read a text file as a structure.
% The file music.txt has the following structure.
%
% Read the text file music.txt into MATLAB as a structure S. Specify 'FileType' as 'xml' to read the contents of the input as an XML file.

S = readstruct("music.txt","FileType","xml")

% Copyright 2020 The MathWorks, Inc.
%