Functions | Variables
matlab_integrator_ode.cpp File Reference
#include <acado_toolkit.hpp>
#include <acado/utils/matlab_acado_utils.hpp>
Include dependency graph for matlab_integrator_ode.cpp:

Go to the source code of this file.

Functions

void clearAllGlobals ()
void genericODE (double *x, double *f, void *userData)
void mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])

Variables

USING_NAMESPACE_ACADO mxArray * ModelFcn_f = NULL
unsigned int ModelFcn_NP = 0
unsigned int ModelFcn_NT = 0
unsigned int ModelFcn_NU = 0
unsigned int ModelFcn_NW = 0
unsigned int ModelFcn_NX = 0
unsigned int ModelFcn_NXA = 0
mxArray * ModelFcn_P = NULL
mxArray * ModelFcn_T = NULL
mxArray * ModelFcn_U = NULL
mxArray * ModelFcn_W = NULL
mxArray * ModelFcn_X = NULL
mxArray * ModelFcn_XA = NULL

Function Documentation

void clearAllGlobals ( )

Definition at line 54 of file matlab_integrator_ode.cpp.

void genericODE ( double *  x,
double *  f,
void *  userData 
)

Definition at line 99 of file matlab_integrator_ode.cpp.

void mexFunction ( int  nlhs,
mxArray *  plhs[],
int  nrhs,
const mxArray *  prhs[] 
)

Definition at line 130 of file matlab_integrator_ode.cpp.


Variable Documentation

This file is part of ACADO Toolkit.

ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization. Copyright (C) 2008-2009 by Boris Houska and Hans Joachim Ferreau, K.U.Leuven. Developed within the Optimization in Engineering Center (OPTEC) under supervision of Moritz Diehl. All rights reserved.

ACADO Toolkit is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

ACADO Toolkit is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with ACADO Toolkit; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Author: David Ariens -- http://www.acadotoolkit.org/matlab Date: 2010

LINK MATLAB ODE TO THE INTEGRATOR

Compilation:

  • Go to the folder <ACADOtoolkit-inst-dir>/interfaces/matlab/
  • Run: makemex('examples/mexfiles/matlab_integrator_ode.cpp', 'matlab_integrator_ode', 'examples/mexfiles/');
  • Run: cd ('examples/mexfiles/'); matlab_integrator_ode();

Definition at line 39 of file matlab_integrator_ode.cpp.

unsigned int ModelFcn_NP = 0

Definition at line 50 of file matlab_integrator_ode.cpp.

unsigned int ModelFcn_NT = 0

Definition at line 46 of file matlab_integrator_ode.cpp.

unsigned int ModelFcn_NU = 0

Definition at line 49 of file matlab_integrator_ode.cpp.

unsigned int ModelFcn_NW = 0

Definition at line 51 of file matlab_integrator_ode.cpp.

unsigned int ModelFcn_NX = 0

Definition at line 47 of file matlab_integrator_ode.cpp.

unsigned int ModelFcn_NXA = 0

Definition at line 48 of file matlab_integrator_ode.cpp.

mxArray* ModelFcn_P = NULL

Definition at line 44 of file matlab_integrator_ode.cpp.

mxArray* ModelFcn_T = NULL

Definition at line 40 of file matlab_integrator_ode.cpp.

mxArray* ModelFcn_U = NULL

Definition at line 43 of file matlab_integrator_ode.cpp.

mxArray* ModelFcn_W = NULL

Definition at line 45 of file matlab_integrator_ode.cpp.

mxArray* ModelFcn_X = NULL

Definition at line 41 of file matlab_integrator_ode.cpp.

mxArray* ModelFcn_XA = NULL

Definition at line 42 of file matlab_integrator_ode.cpp.



acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Thu Aug 27 2015 12:01:35