Next: , Previous: , Up: Top   [Contents][Index]


2 Installation

2.1 Method 1: Online - Only in OCTAVE

The next OCTAVE code, install the last version of BSLTL package directly from octave-forge website in the default install directory.

pkg install -forge -auto bsltl

With this method the package is configured for be loaded automatically when OCTAVE start.

2.2 Method 2: Offline - Only in OCTAVE

If the BSLTL package (bsltl-1.3.1.tar.gz) was downloaded in the directory: /download_path The next OCTAVE code, install the BSLTL package, in the directory: ~/lib/octmat

pkg prefix ~/lib/octmat
pkg install -auto /download_path/bsltl-1.3.1.tar.gz

With this method the package is configured for be loaded automatically when OCTAVE start.

2.3 Method 3: Offline - In MATLAB or OCTAVE

If the BSLTL package (bsltl-1.3.1.zip or bsltl-1.3.1.tar.gz) was uncompressed in the directory '/home/user/lib/octmat/bsltl'. For that this package can be used by a source file, it needs add the next code in the top of source file.

BSLTL_DIR='/home/user/lib/octmat/bsltl';
addpath(genpath(BSLTL_DIR));

The function genpath generates a list with the directories and sub directories. The function addpath add directories to OCTAVE system path.

In this method we install (add to Octave system path) the BSLTL package each time that we call our source files.