Setting-up MATLAB


Setting up MATLAB to work properly with the LTPDA Toolbox requires a few steps:

Add the LTPDA Toolbox to the MATLAB path

After downloading and un-compressing the LTPDA Toolbox, you should add the directory ltpda_toolbox to your MATLAB path. To do this:

Starting LTPDA Toolbox

To start using the LTPDA Toolbox, execute the following command on the MATLAB terminal:

    ltpda_startup
This should launch the LTPDA Launchbay, and you should see the LTPDA logo on the MATLAB terminal. When you run this for the first time, you will also be presented with the LTPDA Preferences GUI from where you can edit the preferences for the toolbox (see below).

If everything has gone well, you should be able to run a set of built-in tests by doing:

    run_tests
This will run about 100 test scripts. These test scripts can be found in $ltpda_toolbox/examples and serve as useful example scripts.

In order to automatically start the LTPDA Toolbox when MATLAB starts up, add the command ltpda_startup to your own startup.m file. See >> doc startup for more details on installing and editing your own startup.m file.

Edit the LTPDA Preferences

The LTPDA Toolbox comes with a default set of starting preferences. These may need to be edited for your particular system (though most of the defaults should be fine). To edit the preferences, you first need to have the LTPDA toolbox installed as described above, then run the command

  LTPDAprefs
or click on the "LTPDA Preferences" button on the launchbay. You should see the following GUI:

LTPDA Preferences GUI

Edit all the preferences you want and then click apply to save the preferences. These new preferences will be used each time you start LTPDA.



©LTP Team