lunduniversity.lu.se

Automatic Control

Faculty of Engineering, LTH

Denna sida på svenska This page in English

Installation instructions lab1

In terminal ====================================
export JULIA_PKGDIR=/var/tmp/$USER
julia


In Julia =======================================
ENV["PYTHON"] = ""
ENV["JUPYTER"]=""
Pkg.init()
Pkg.add("IJulia")
Pkg.add("GR")
Pkg.add("ControlSystems")
Pkg.add("Interact")
Pkg.checkout("ControlSystems","autodiff")
quit()


In terminal ====================================
cd /var/tmp/$USER/v0.6/Conda/deps/usr/bin
./jupyter-nbextension enable --py widgetsnbextension
cd
julia


In Julia =======================================
Pkg.build("IJulia")
cp(Pkg.dir("ControlSystems", "example/gain_scheduling.ipynb"), joinpath(pwd(), "gain_scheduling.ipynb"))
using IJulia
notebook()


======================
Locate the file gain_scheduling.ipynb and open it

Page Manager: