Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phausamann/imex
A MATLAB MEX to Eigen interface in C++
https://github.com/phausamann/imex
Last synced: about 2 months ago
JSON representation
A MATLAB MEX to Eigen interface in C++
- Host: GitHub
- URL: https://github.com/phausamann/imex
- Owner: phausamann
- License: gpl-3.0
- Created: 2017-06-01T13:18:11.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-01T13:26:22.000Z (over 7 years ago)
- Last Synced: 2024-01-26T15:38:43.638Z (11 months ago)
- Language: C++
- Size: 17.6 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# imex
A MATLAB MEX to Eigen interface in C++## Overview
A header-only library written in C++ that provides various functions for easy conversions from `mxArray` pointers to Eigen objects and back. Inputs will be typecast automatically, if possible.## Running the example
The example demonstrates how inputs are automatically typecast depending on the requested Eigen type.
* Set the path to your Eigen installation in line 21 of `gen_mex.m`
* Run `test_imex.m`
* `C` should be equal to `A` (except for the datatype)## Disclaimer
This is a very basic library in its early alpha stage. A lot of features are yet to be implemented (e.g. `Eigen::Array`, `Eigen::SparseVector`, support of MATLAB logicals).So far, the library has only been tested on MATLAB R2016a x64 on Windows 8/10 with the Microsoft Visual C++ 2010 Compiler and Eigen 3.2.1.