Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
+
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
x
y
+
Typedefs
a
d
i
p
q
r
s
t
Enumerations
+
Enumerator
a
b
c
d
e
f
g
h
i
l
n
o
p
r
s
t
u
v
w
x
z
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerations
+
Enumerator
_
a
b
c
d
e
f
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
+
Related Functions
a
c
d
e
f
g
h
i
l
m
o
p
q
r
s
t
x
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
w
x
z
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
x
z
+
Typedefs
a
b
c
d
e
f
g
i
l
m
n
r
s
t
u
+
Enumerations
a
b
c
d
e
g
h
i
l
m
n
o
p
q
r
s
t
u
v
+
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
+
Macros
_
a
b
c
d
e
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
interfaces
matlab
examples
mexfiles
empty.cpp
Go to the documentation of this file.
1
35
#include <
acado_toolkit.hpp
>
// Include the ACADO toolkit
36
#include <
acado/utils/matlab_acado_utils.hpp
>
// Include specific Matlab utils
37
38
USING_NAMESPACE_ACADO
// Open the namespace
39
40
41
// Start the MEX function. Do NOT change the header of this function.
42
//
43
// int nlhs contains the number of left hand arguments (outputs *plhs[])
44
// int nrhs contains the number of right hand arguments (inputs *prhs[])
45
void
mexFunction
(
int
nlhs, mxArray *plhs[],
int
nrhs,
const
mxArray *prhs[] )
46
{
47
clearAllStaticCounters
( );
// Clear software counters
48
49
50
51
52
// WRITE YOUR CPP CODE HERE
53
printf(
"Hello world! \n"
);
54
// WRITE YOUR CPP CODE HERE
55
56
57
58
clearAllStaticCounters
( );
// Clear software counters
59
}
60
acado_toolkit.hpp
USING_NAMESPACE_ACADO
#define USING_NAMESPACE_ACADO
Definition:
acado_namespace_macros.hpp:59
matlab_acado_utils.hpp
clearAllStaticCounters
returnValue clearAllStaticCounters()
Definition:
acado_syntax.cpp:248
mexFunction
USING_NAMESPACE_ACADO void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
Definition:
empty.cpp:45
acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Mon Feb 28 2022 21:31:53