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:

Edit the LTPDA startup script

The LTPDA Toolbox comes with a default ltpda_startup.m file. This may need to be edited for your particular system (though most of the defaults should be fine). To edit this file, do >> edit ltpda_startup at the MATLAB command prompt. The following table lists the various variables that are set there:

Variable Values Description

USE_LTPDA_PRINT_SETTINGS

'Yes' or 'no'

Choose the LTPDA Print settings, or stick with your own (MATLAB) defaults.

USE_LTPDA_PLOT_SETTINGS

'Yes' or 'no''

Choose the LTPDA Plot settings, or stick with your own (MATLAB) defaults.

DBDRIVER

'com.mysql.jdbc.Driver'

The name of the database driver for the Database Toolbox. The MySQL driver is shown here.

Automatically start LTPDA Toolbox on starting MATLAB

In order to automatically load the LTPDA Toolbox settings 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.




©LTP Team