LTPDA Toolbox | ![]() ![]() |
Setting up MATLAB to work properly with the LTPDA Toolbox requires a few steps:
After downloading and un-compressing the LTPDA Toolbox, you should add the directory ltpda_toolbox to your MATLAB path. To do this:
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. |
DBHOST |
'192.168.10.1' or 'bob.foo.com' |
IP Address or resolvable hostname of the machine hosting the AO Repository. |
DBUSER |
'bob' |
A valid username for connecting to the AO Repository database. |
DBPASSWD |
'letmein' |
The password for the above username on the AO Repository database. |
DBNAME |
'aod' |
The name of the database on the AO Repository database. |
DBDRIVER |
'com.mysql.jdbc.Driver' |
The name of the database driver for the Database Toolbox. The MySQL driver is shown here. |
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.
![]() |
System Requirements | Examples | ![]() |
©LTP Team