Functions
qpOASES_matlab_utils.cpp File Reference
#include "mex.h"
#include "matrix.h"
#include "string.h"
Include dependency graph for qpOASES_matlab_utils.cpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void allocateOutputs (int nlhs, mxArray *plhs[], int nV, int nC=0, int nP=1)
returnValue convertFortranToC (const real_t *const A_for, int nV, int nC, real_t *const A)
real_t getStatus (returnValue returnvalue)
BooleanType hasOptionsValue (const mxArray *optionsPtr, const char *const optionString, double **optionValue)
void obtainOutputs (int k, QProblemB *qp, returnValue returnvalue, int nWSRin, int nlhs, mxArray *plhs[], int nV, int nC=0)
returnValue setupOptions (Options *options, const mxArray *optionsPtr, int &nWSRin)
returnValue smartDimensionCheck (real_t **input, unsigned int m, unsigned int n, BooleanType emptyAllowed, const mxArray *prhs[], int idx)

Detailed Description

Author:
Hans Joachim Ferreau
Version:
3.0beta
Date:
2007-2011

Collects utility functions for Interface to Matlab(R) that enables to call qpOASES as a MEX function.

Definition in file qpOASES_matlab_utils.cpp.


Function Documentation

void allocateOutputs ( int  nlhs,
mxArray *  plhs[],
int  nV,
int  nC = 0,
int  nP = 1 
)

Definition at line 295 of file qpOASES_matlab_utils.cpp.

returnValue convertFortranToC ( const real_t *const  A_for,
int  nV,
int  nC,
real_t *const  A 
)

Definition at line 126 of file qpOASES_matlab_utils.cpp.

real_t getStatus ( returnValue  returnvalue)

Definition at line 45 of file qpOASES_matlab_utils.cpp.

BooleanType hasOptionsValue ( const mxArray *  optionsPtr,
const char *const  optionString,
double **  optionValue 
)

Definition at line 141 of file qpOASES_matlab_utils.cpp.

void obtainOutputs ( int  k,
QProblemB qp,
returnValue  returnvalue,
int  nWSRin,
int  nlhs,
mxArray *  plhs[],
int  nV,
int  nC = 0 
)

Definition at line 326 of file qpOASES_matlab_utils.cpp.

returnValue setupOptions ( Options options,
const mxArray *  optionsPtr,
int &  nWSRin 
)

Definition at line 161 of file qpOASES_matlab_utils.cpp.

returnValue smartDimensionCheck ( real_t **  input,
unsigned int  m,
unsigned int  n,
BooleanType  emptyAllowed,
const mxArray *  prhs[],
int  idx 
)

Definition at line 73 of file qpOASES_matlab_utils.cpp.



acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Sat Jun 8 2019 19:40:22