annotate toolboxes/xml_toolbox/INSTALL.TXT @ 0:cc4b1211e677 tip

initial commit to HG from Changeset: 646 (e263d8a21543) added further path and more save "camirversion.m"
author Daniel Wolff
date Fri, 19 Aug 2016 13:07:06 +0200
parents
children
rev   line source
Daniel@0 1 --------------------------------------------------------------------
Daniel@0 2 XML Toolbox for Matlab
Daniel@0 3 http://www.geodise.org
Daniel@0 4 Author: Marc Molinari <m.molinari@soton.ac.uk>
Daniel@0 5 $Revision: 1.1 $ $Date: 2005/04/15 17:12:14 $
Daniel@0 6 --------------------------------------------------------------------
Daniel@0 7
Daniel@0 8 The XML Toolbox for Matlab provides easy-to-use XML functionality
Daniel@0 9 to the Matlab environment. It has been tested with Matlab versions
Daniel@0 10 6.5 (R13) and 7 (R14). It can be used standalone and does not
Daniel@0 11 require Java.
Daniel@0 12
Daniel@0 13 ---------------------------
Daniel@0 14 Installation Instructions
Daniel@0 15 ---------------------------
Daniel@0 16
Daniel@0 17 Unzip the files from the XMLToolbox.zip file. This creates a
Daniel@0 18 subfolder named "xml_toolbox".
Daniel@0 19
Daniel@0 20 This new directory containing .m and .p files should be added
Daniel@0 21 to the Matlab search path. This can be done by either of...
Daniel@0 22
Daniel@0 23 (1) If using the Matlab desktop, navigate to the 'Set Path' dialog
Daniel@0 24 ('File' > 'Set Path'). Click the 'Add Folder' button and browse
Daniel@0 25 to the directory containing the XML Toolbox, select 'OK' to
Daniel@0 26 confirm. You may wish to click the 'Save' button to preserve
Daniel@0 27 the configuration between sessions. Click 'Close' to dismiss
Daniel@0 28 the dialog.
Daniel@0 29
Daniel@0 30 (2) If you are using Matlab via the Unix terminal you can instead
Daniel@0 31 use the 'addpath' and 'savepath' functions at the Matlab command
Daniel@0 32 line.
Daniel@0 33 >> addpath /home/USER/GeodiseLab/XMLToolbox
Daniel@0 34
Daniel@0 35 (3) System administrators configuring a multi-user Matlab installation
Daniel@0 36 may find it preferable to edit $MATLABROOT/toolbox/local/pathdef.m
Daniel@0 37 to make changes to the Matlab search path available to all users.
Daniel@0 38
Daniel@0 39 To confirm that the Matlab search path has been successfully
Daniel@0 40 configured type the following (without the >>) and press Return:
Daniel@0 41 >> str = which('xml_help')
Daniel@0 42 The variable str should contain the path of the XML Toolbox.
Daniel@0 43
Daniel@0 44 ---------------------------
Daniel@0 45 Test the Installation
Daniel@0 46 ---------------------------
Daniel@0 47
Daniel@0 48 To test the installation, type "xml_help" at the Matlab prompt.
Daniel@0 49 This should display a short description of the functions in the
Daniel@0 50 XML Toolbox. Each function is easy to use and contains its own
Daniel@0 51 help (available with ">> help xml_xxxx").
Daniel@0 52 Try now to execute the following at the Matlab command prompt:
Daniel@0 53
Daniel@0 54 >> xml_help
Daniel@0 55 >> xml_format( 'Hello World!' )
Daniel@0 56 >>
Daniel@0 57 >> str = xml_format(17.29)
Daniel@0 58 >> a = xml_parse(str)
Daniel@0 59
Daniel@0 60 As an alternative test and example, try the xml_tests script in the
Daniel@0 61 tests subdirectory.