by Bas Kooijman, 28 June 2010
DEBtool is used in the DEB tele-courses and is freely available via GitHub, see DEB laboratory (Octave and Matlab versions)
This release focuses on
Matlab is commercial and has a large users group.
Matlab is very expensive, wants to check license numbers frequently on the web.
The student version is much less expensive and will do for most purposes.
Matlab versions are available for Unix, Windows and McIntosh.
See also Mathtools for additional information.
Some of DEBtool's functions can be computationally intensive;
reduce Matlab's priority by priority('l')
.
This routine is included in DEBtool.
The Matlab package is accessable via GitHub
Octave can be down-loaded freely; it runs under Linux, Unix and Windows 95/98/2000/NT/XP/Vista/10, see `Windows installer' on the linked page.. Although it is possible to run Octave 3.2.4 directly in the Octave Window, can best be run under
Emacs 23.1
, freely downloadable from http://ftp.gnu.org/gnu/emacs/windows/ (emacs-23.1-bin-i386.zip) .
Install it by adding the emacs-23.1 folder under Program Files under Windows and run the addxpm.exe file in the bin directory of emacs-23.1 to add an emacs-icon in the start menu.
Start Octave under Emacs by Alt-x run-octave
, after making sure that Emacs and Octave are added to the path of Windows.
The path under Windows can edited by right-clicking on "Computer" under "the start-menu", and select "properties", and then "advanced systems settings".
You will then see an increadibly long path in an increadibly small window that can be edited. Octave GUI in Qt 4.6 - QOcTerm
, freely downloadble from http://sourceforge.net/, using an interface that is similar to that of Matlab.
To find it, type "QOC Term", in the search-window of the sourceforge-entry-page.
You just copy the directory with the executable under "C:/Program Files", for instance, make a coupling to your desktop, activate by double clicking and walk in the Term-tab to the place where you want to work; cd(return)
brings you on top of your user-directory.
Octave uses Gnuplot for graphics.
If the Gnuplot window freezes after sending a plot command, type in the Octave window:
pkg rebuild -noauto oct2mat
, press return and restart octave.
The Octave package is accessable via GitHub, but is no longer maintained
index.html
.
addpath(genpath('../DEBtool_O/'))
in Octave or in the menu-bar in Matlab.
Use pwd
under Octave or Matlab for getting the current prosition in to directory-tree, and ls
for the list of files in the current directory.
Use cd
for changing directories, where ..
means the parent-directory.
Example if you are in a sister-directory of DEBtool: cd ../DEBtool/animal/
will bring you to toolbox animal.
The routines in each subdirectory can call other routines from that subdirectory, or from the library DEBtool/lib, which has three subdirectories.
clear all
after switching toolboxes.
No error messages are given if you do it otherwise, but the effect is not what you want it to be.
So if you are in alga
and type cd ../plant
, continue with clear all; plant
, for instance.
The plot ranges of DEBtools' plotting routines are set without notice, when you use the routines for the first time.
Clear them by either use clear
, or the 'default' option in the *_option
routines.
See under the manual under library
.
DEBtool/lib/nrregr
.
Go to the DEB information page or the DEB laboratory