comparison m-toolbox/INSTALL.txt @ 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 Various instructions for developers
2 -----------------------------------
3
4 This describes how to take the source of the ltpda toolbox and make a toolbox
5 for a particular platform. Also some instruction on development.
6
7 Installation
8 ------------
9
10 In a terminal:
11
12 1) Check-out a fresh copy of the source tree
13
14 > cvs co -P ltpda
15
16 In MATLAB:
17
18 2) cd ltpda/software/m-toolbox
19
20 3) Edit makeToolbox.m and change the options in the Settings section at the top.
21 The rootdir should be set to the place you want the final, usable toolbox to
22 be installed, for example,
23
24 rootdir = '/home/hewitson/matlab/';
25
26 Set:
27
28 compile_mex = 1
29
30 if you want to compile the mex files as well (you probably do).
31
32 Make sure you have deleted any old version of a compiled toolbox from rootdir
33 before going on. (This is not necessary if the old version is in the same place
34 as the new one.)
35
36 4) run the script (hit F5 or type makeToolbox in the MATLAB terminal).
37
38 5) Add the command 'ltpda_startup' to the end of your startup.m
39
40 6) You should now be able to run the various test scripts
41
42 >> cd ltpda/software/m-toolbox/test
43
44 Note: these test scripts use the functions and classes of the newly
45 installed toolbox, NOT those in the source tree.
46
47
48 Making changes to the source
49 ----------------------------
50