wolffd@0: -------------------------------------------------------------------- wolffd@0: XML Toolbox for Matlab wolffd@0: http://www.geodise.org wolffd@0: Author: Marc Molinari wolffd@0: $Revision: 1.1 $ $Date: 2005/04/15 17:12:14 $ wolffd@0: -------------------------------------------------------------------- wolffd@0: wolffd@0: The XML Toolbox for Matlab provides easy-to-use XML functionality wolffd@0: to the Matlab environment. It has been tested with Matlab versions wolffd@0: 6.5 (R13) and 7 (R14). It can be used standalone and does not wolffd@0: require Java. wolffd@0: wolffd@0: --------------------------- wolffd@0: Installation Instructions wolffd@0: --------------------------- wolffd@0: wolffd@0: Unzip the files from the XMLToolbox.zip file. This creates a wolffd@0: subfolder named "xml_toolbox". wolffd@0: wolffd@0: This new directory containing .m and .p files should be added wolffd@0: to the Matlab search path. This can be done by either of... wolffd@0: wolffd@0: (1) If using the Matlab desktop, navigate to the 'Set Path' dialog wolffd@0: ('File' > 'Set Path'). Click the 'Add Folder' button and browse wolffd@0: to the directory containing the XML Toolbox, select 'OK' to wolffd@0: confirm. You may wish to click the 'Save' button to preserve wolffd@0: the configuration between sessions. Click 'Close' to dismiss wolffd@0: the dialog. wolffd@0: wolffd@0: (2) If you are using Matlab via the Unix terminal you can instead wolffd@0: use the 'addpath' and 'savepath' functions at the Matlab command wolffd@0: line. wolffd@0: >> addpath /home/USER/GeodiseLab/XMLToolbox wolffd@0: wolffd@0: (3) System administrators configuring a multi-user Matlab installation wolffd@0: may find it preferable to edit $MATLABROOT/toolbox/local/pathdef.m wolffd@0: to make changes to the Matlab search path available to all users. wolffd@0: wolffd@0: To confirm that the Matlab search path has been successfully wolffd@0: configured type the following (without the >>) and press Return: wolffd@0: >> str = which('xml_help') wolffd@0: The variable str should contain the path of the XML Toolbox. wolffd@0: wolffd@0: --------------------------- wolffd@0: Test the Installation wolffd@0: --------------------------- wolffd@0: wolffd@0: To test the installation, type "xml_help" at the Matlab prompt. wolffd@0: This should display a short description of the functions in the wolffd@0: XML Toolbox. Each function is easy to use and contains its own wolffd@0: help (available with ">> help xml_xxxx"). wolffd@0: Try now to execute the following at the Matlab command prompt: wolffd@0: wolffd@0: >> xml_help wolffd@0: >> xml_format( 'Hello World!' ) wolffd@0: >> wolffd@0: >> str = xml_format(17.29) wolffd@0: >> a = xml_parse(str) wolffd@0: wolffd@0: As an alternative test and example, try the xml_tests script in the wolffd@0: tests subdirectory.