Main MRPT website > C++ reference for MRPT 1.5.7
Functions
Helper functions for MEX & MATLAB

Detailed Description

Collaboration diagram for Helper functions for MEX & MATLAB:

Functions

template<typename Derived >
mxArraymrpt::math::convertToMatlab (const Eigen::EigenBase< Derived > &mat)
 Convert vectors, arrays and matrices into Matlab vectors/matrices. More...
 
template<typename CONTAINER >
mxArraymrpt::math::convertVectorToMatlab (const CONTAINER &vec)
 Convert std::vector<> or std::deque<> of numeric types into Matlab vectors. More...
 

Function Documentation

◆ convertToMatlab()

template<typename Derived >
mxArray* mrpt::math::convertToMatlab ( const Eigen::EigenBase< Derived > &  mat)

Convert vectors, arrays and matrices into Matlab vectors/matrices.

Supported input classes:

Definition at line 38 of file utils_matlab.h.

◆ convertVectorToMatlab()

template<typename CONTAINER >
mxArray* mrpt::math::convertVectorToMatlab ( const CONTAINER &  vec)

Convert std::vector<> or std::deque<> of numeric types into Matlab vectors.

Definition at line 51 of file utils_matlab.h.




Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 8277875f6 Mon Jun 11 02:47:32 2018 +0200 at lun oct 28 01:50:49 CET 2019