Contents     Functions         Previous Next     PDF Index

sdtcheck

Purpose

Installation handling and troubleshooting.

Description

For SDT to run in MATLAB  the path to SDT functions must be added to the MATLAB search path. Additional libraries are also required that sometimes need an explicit declaration in MATLAB. sdtcheck then packages manual input to alter the user MATLAB settings if needed.

Commands

path

This command properly defines the MATLAB search path to run SDT. It has to be used at startup if the search path was not saved in your MATLAB session with SDT installed.

% Initialization of SDT in MATLAB path
pw0=pwd;
cd('path_to_my_sdt')
sdtcheck path
cd(pw0)

patchJavaPath[,set]

SDT GUI utilities are based on Java and require additional Java libraries to be loaded by MATLAB. To ensure proper SDT GUI running the user needs to alter the default MATLAB classpath.txt.

This setup is highly depending on the MATLAB version

patchFile[,set]

To distribute more intricate examples, SDTools uses patches in the form of zip files downloaded to the fullfile(sdtdef('tempdir'),'sdtdemos') directory and possibly extracted in the same directory. For example

 fname=sdtcheck('PatchFile',struct('fname','DbTest.unv','in','DrumBrake.zip'));

will search a DbTest.unv file and if not found will download the DrumBrake.zip set of files where DbTest.unv is expected to be located.

patchMkl[,path,_rt]

The new ofact solver based on MKL Pardiso requires additional libraries to run. patchMkl packages its installation.

SdtRootDir

Provides the SDT root directory.

wd=sdtcheck('SdtRootDir')

©1991-2019 by SDTools
Previous Up Next