Darwin
1.10(beta)
|
Utility functions for converting between Matlab and Darwin datatypes. More...
Functions | |
void | mexMsgTxt (const char *message) |
print a message to the matlab console | |
void | setupLoggerCallbacks () |
sets drwnLogger callbacks to output to Matlab | |
drwnTableFactor * | parseFactor (const drwnVarUniversePtr &pUniverse, const mxArray *factor, int factorIndx=0) |
parse a table factor from a structure array s with fields s.vars and s.data | |
void | printStandardOptions () |
prints standard options to Matlab console | |
void | initializeStandardOptions (map< string, string > &options) |
initializes standard options structure | |
bool | parseOptions (const mxArray *optionStruct, map< string, string > &options) |
parses Matlab structure of options, assuming that each field is either a scalar or a string, and returns true if any options were set. | |
void | processStandardOptions (map< string, string > &options) |
processes standard options | |
void | mxArrayToVector (const mxArray *m, vector< vector< double > > &v) |
converts a Matlab matrix to an stl vector of vectors | |
void | mxArrayToEigen (const mxArray *m, MatrixXd &A) |
converts a Matlab matrix to an eigen matrix | |
void | mxArrayToEigen (const mxArray *m, VectorXd &b) |
converts a Matlab matrix to an eigen vector | |
void | mxArrayToEigen (const mxArray *m, vector< MatrixXd > &A) |
converts a multi-dimensional Matlab matrix to a vector of eigen matrices | |
Utility functions for converting between Matlab and Darwin datatypes.