Alberto Álvarez

Posts tagged "control":

21 May 2020

Installing SLYCOT to use the python-control toolbox

In order to use some features of the python-control toolbox, you need to have the Subroutine Library in Systems and Control Theory (SLYCOT) installed. I issued the following commands to install it under Ubuntu 20.04:

$ sudo apt install cmake
$ sudo apt install gfortran
$ sudo apt install libopenblas-dev

The first line gives you cmake which I thought it should have been installed by default, but it wasn't the case. The second line installs a FORTRAN compiler called gfortran; there are others, but this is the one I tried since it is suggested in the python-control toolbox documentation. Finally, I installed OpenBLAS by calling libopenblas-dev, which gives you access to BLAS/LAPACK dependencies.

The last thing I did was to install SLYCOT by calling:

$ pip install slycot

The documentation of the python-control toolbox can be found here. The python-control toolbox has its own wrapper for SLYCOT and it can be found here.

Tags: control python slycot
Other posts
alberto.am by Alberto Álvarez is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.