Mercurial > hg > ltpda
comparison m-toolbox/html_help/help/ug/setup_content.html @ 0:f0afece42f48
Import.
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 23 Nov 2011 19:22:13 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f0afece42f48 |
---|---|
1 | |
2 <p>Setting up MATLAB to work properly with the LTPDA Toolbox requires a few steps:</p> | |
3 | |
4 <ul> | |
5 <li> | |
6 <p><a href="setup.html#path">Add the LTPDA Toolbox to the MATLAB path</a></p> | |
7 </li> | |
8 <li> | |
9 <p><a href="setup.html#startup">Starting LTPDA Toolbox</a></p> | |
10 </li> | |
11 <li> | |
12 <p><a href="setup.html#prefs">Edit the LTPDA Preferences</a></p> | |
13 </li> | |
14 </ul> | |
15 | |
16 <a name="path" id= "path"></a> | |
17 <h3 class="title">Add the LTPDA Toolbox to the MATLAB path</h3> | |
18 | |
19 <p> | |
20 After downloading and un-compressing the LTPDA Toolbox, you should add the | |
21 directory <tt>ltpda_toolbox</tt> to your MATLAB path. To do this: | |
22 <ul> | |
23 <li> File -> Set Path... </li> | |
24 <li> Choose "Add with Subfolders" and browse to the location of <tt>ltpda_toolbox</tt> </li> | |
25 <li> "Save" your new path. MATLAB may require you to save your new <tt>pathdef.m</tt> to a | |
26 new location in the case that you don't have write access to the default location. For more | |
27 details read the documentation on "pathdef" (<tt>>> doc pathdef</tt>). </li> | |
28 </ul> | |
29 </p> | |
30 | |
31 <a name="ltpdastartup" id= "ltpdastartup"></a> | |
32 | |
33 <a name="startup" id= "startup"></a> | |
34 <h3 class="title">Starting LTPDA Toolbox</h3> | |
35 | |
36 <p> | |
37 To start using the LTPDA Toolbox, execute the following command on the MATLAB terminal: | |
38 <div class="fragment"> | |
39 <pre> | |
40 ltpda_startup </pre> | |
41 </div> | |
42 This should launch the LTPDA Launchbay, and you should see the LTPDA logo on the MATLAB terminal. | |
43 When you run this for the first time, you will also be presented with the LTPDA Preferences GUI from | |
44 where you can edit the preferences for the toolbox (see below). | |
45 </p> | |
46 <p> | |
47 If everything has gone well, you should be able to run a set of built-in tests by doing: | |
48 <div class="fragment"> | |
49 <pre> | |
50 run_tests | |
51 </pre> | |
52 </div> | |
53 This will run about 100 test scripts. These test scripts can be found in <tt>$ltpda_toolbox/examples</tt> | |
54 and serve as useful example scripts. | |
55 </p> | |
56 <p> | |
57 In order to automatically start the LTPDA Toolbox | |
58 when MATLAB starts up, add the command <tt>ltpda_startup</tt> to your own <tt>startup.m</tt> | |
59 file. See <tt>>> doc startup</tt> for more details on installing and editing your own <tt>startup.m</tt> file. | |
60 </p> | |
61 | |
62 <a name="prefs" id= "prefs"></a> | |
63 <h3 class="title">Edit the LTPDA Preferences</h3> | |
64 | |
65 <p> | |
66 The LTPDA Toolbox comes with a default set of starting preferences. These may need | |
67 to be edited for your particular system (though most of the defaults should be fine). | |
68 To edit the preferences, you first need to have the LTPDA toolbox installed as described | |
69 above, then run the command | |
70 <div class="fragment"><pre> | |
71 LTPDAprefs | |
72 </pre></div> | |
73 or click on the "LTPDA Preferences" button on the launchbay. You should see the following GUI: | |
74 </p> | |
75 <p> | |
76 <img src="images/LTPDAprefs.png" alt="LTPDA Preferences GUI" border="0"> </p> | |
77 <p> | |
78 Edit all the preferences you want and then click apply to save the preferences. These new preferences | |
79 will be used each time you start LTPDA. | |
80 </p> | |
81 | |
82 | |
83 </p> | |
84 | |
85 |