Skip to content
jgillis edited this page Apr 20, 2018 · 3 revisions

CasADi 3.1

Grab a binary from the table:

Windows Linux Mac
Matlab R2014b or later R2014b or later R2015a or later
R2014a or later R2014a or later R2014b or later
R2013a or later R2014a or later
Octave 4.0.2+ 4.0.2+ 4.0.2+
Python Py27 (32bit or 64bit ) Py27 Py27
Py35 (32bit or 64bit ) Py35 Py35

or see download page for more options/versions ...

Unzip in your home directory and adapt the path:

Matlab/Octave Python
addpath('.../casadi-matlabR2014a-v3.1.1')
import casadi.*
x = MX.sym('x')
disp(jacobian(sin(x),x))
from sys import path
path.append(r".../casadi-py27-np1.9.1-v3.1.1")
from casadi import *
x = MX.sym("x")
print(jacobian(sin(x),x))

Get started with the example pack.

Clone this wiki locally