Skip to content

parseXML.m

Basic Information

  SYNTAX:  theStruct = parseXML(filename)

  PURPOSE:  Convert XML file to a MATLAB structure.

  INPUT:
    input_file = xml file to parse

  OUTPUT:
    theStruct = matlab structure (DOM format) parsed from xml file

  RESTRICTIONS:

  METHOD:  For a description of a Document Object Model (DOM), see Mathworks online
   help at: https://www.mathworks.com/help/releases/R2017a/matlab/import_export/importing-xml-documents.html#bsmj8la