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: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019