comparison toolboxes/xml_toolbox/INSTALL.TXT @ 0:e9a9cd732c1e tip

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