Reading XML files in MATLAB has yet to become user friendly as it already is in other object-oriented programming languages. The most confusing thing is that objects appear to be empty or NULL when you access variables in MATLAB. So I decided to put up a simple code example that summarizes the basic functions.
The XML document contains four types of objects over three levels of nesting.
The code reads through a small XML file and prints information about time and line for each entry within the journal element.
Reading XML files from MATLAB