An increasing amount of data is encoded in XML format. MATLAB has built in support for parsing XML format files, but the documentation leaves something to be desired in terms of details. What follows is a tutorial that first introduces XML and then shows how MATLAB can be used for parsing. A sample XML file is provided along with a MATLAB LiveScript that contains all the code in this tutorial.
Download: Parsing XML using MATLAB (PDF, 105 kB)Download: XML example files (ZIP, 6 kB)
Posted on Monday November 5, 2018
View all posts