Works beautifully with several versions of Matlab; I really love the way it handles comments, too.
I wanted to suppress some of the terminal output, since I use large xml files and generally am only interested in small sections in any one program. There's an easy way to get around that, but since it took me awhile to find it, I'll share it:
t=evalc('[mystruct tree] = xml_read(cfgfile);');
if ~isempty(t)
disp(t);
end