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.

REPO_GUI_SERVERLIST

{'localhost', '130.75.117.67', '130.75.117.61'}

A list of default LTPDA repositories that will be presented to the user by the LTPDA Repository GUI. Each hostname is one entry in a cell-array.

REPO_GUI_FONTSIZE

10

A default font-size used on the LTPDA Repository GUI.

PASSWD_WIN_FONTSIZE

10

A default font-size used on the password dialog box for connection to LTPDA Repositories.

TIMEZONE

'UTC'

A default time-zone used when dealing with LTPDA Time objects. A list of valid time-zones can be retried with the command: >> java.util.TimeZone.getAvailableIDs

TIME_FORMAT_STR

'yyyy-mm-dd HH:MM:SS.FFF'

A default time format string.

VERBOSE_LEVEL

0-11

The level of terminal output from the toolbox. Higher numbers result in increased terminal output.

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