#include "mex.h"#include "matrix.h"#include "string.h"

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) |
Collects utility functions for Interface to Matlab(R) that enables to call qpOASES as a MEX function.
Definition in file qpOASES_matlab_utils.cpp.
| 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.