Some features of the LTPDA Toolbox require additional 3rd-party software to be installed. These are listed below.
Graphviz
In order to use the commands listed below, the Graphviz package must be installed.
Method |
Description |
history/dotview
|
Convert a history object to a tree-diagram using the DOT interpreter.
|
ssm/dotview
|
Convert the statespace model object to a block-diagram using the DOT interpreter.
|
The following installation guidelines can be used for different platforms:
Windows
- Download the relevant package from Downloads section of www.graphviz.org.
- Install the package by following the relevant instructions.
- Set the two relevant variables in your ltpda_startup.m file:
- LTPDA_DOT_BIN - set the path to the 'dot.exe' binary. If you perform the default
installation, this should be something like:
LTPDA_DOT_BIN = 'c:\Program Files\Graphviz2.20\bin\dot.exe';
- LTPDA_DOT_FORMAT - the graphics format to output. See formats for available formats.
To view the final graphics file you must have a suitable viewer for that graphics format installed on the system. For example,
to output as PDF:
LTPDA_DOT_FORMAT = 'pdf';
Mac OS X
- Choose from:
- From graphviz:
- Download the relevant package from Downloads section of www.graphviz.org.
- Install the package by following the relevant instructions.
- From Fink:
- If you use the fink package manager, in a terminal: > fink install graphviz
- Set the two relevant variables in your ltpda_startup.m file:
- LTPDA_DOT_BIN - set the path to the 'dot' binary. If you perform the default
installation from fink, this should be something like:
LTPDA_DOT_BIN = '/sw/bin/dot';
- LTPDA_DOT_FORMAT - the graphics format to output. See formats for available formats.
To view the final graphics file you must have a suitable viewer for that graphics format installed on the system. For example,
to output as PDF:
LTPDA_DOT_FORMAT = 'pdf';
Linux
- Choose from:
- From graphviz:
- Download the relevant package from Downloads section of www.graphviz.org.
- Install the package by following the relevant instructions.
- From terminal (Ubuntu):
- Please type in a terminal: >sudo apt-get install graphviz
- From graphical package manager like YaSt, Synaptic, Adept, ...
- Start your graphical package manager
- Search for the >graphviz package
- Select the package and all depending packes and install these packages.
- Set the two relevant variables in your ltpda_startup.m file:
- LTPDA_DOT_BIN - set the path to the 'dot' binary. If you perform the default
installation from the terminal, this should be something like:
LTPDA_DOT_BIN = '/usr/bin/dot';
LTPDA_DOT_BIN - even 'dot' without the path should work
LTPDA_DOT_BIN = 'dot';
- LTPDA_DOT_FORMAT - the graphics format to output. See formats for available formats.
To view the final graphics file you must have a suitable viewer for that graphics format installed on the system. For example,
to output as PDF:
LTPDA_DOT_FORMAT = 'pdf';
- Define a programm in MATLAB which opens the file.
- The default programm to open a pdf file is the Acrobat Reader
- Define another program under File -> Preferences -> Help -> PDF Reader