文件名称:C/C++ and Matlab types convertor
文件大小:64KB
文件格式:ZIP
更新时间:2017-06-06 09:25:31
C/C++ and Matlab types convertor
Title: C/C++ <-> Matlab types convertor Brief: Bidirectional conversion between C/C++ types (native, STL, openCV...) and Matlab matrix (compile or run time). Key words: C, C++, mxArray, OpenCV, IplImage, iterator, mex, engine Description: Consider below scenarios (especially when programming with signal/speech/image processing and scientific computation): 1 Dumping C/C++ data into Matlab workspace in run-time to visualize data and facilitate debugging. But calling engine APIs directly seems not to be that convenient. 2 Implementing underlying algorithm as mex file to accelarate m file. Each time you must convert mxArray to C/C++ types, do some job, and finally convert C/C++ types back to returned mxArray. This project provides easy access to above tasks given appropriate iterators (refer to any C++ STL textbook if iterator seems nothing to you).
【文件预览】:
license.txt
mc_ext_
----example()
--------dump1()
--------dump2()
--------simple_mex()
--------dump_opencv()
--------opencv_mex()
--------opencv_CvMat_mex()
----TODO(413B)
----src()
--------mc_convert.h(5KB)
--------mc_convert.cpp(10KB)
--------types.h(5KB)
--------matlab_dump.cpp(1KB)
--------iter.h(8KB)
--------matlab_dump.h(9KB)
----README(3KB)
----doc.htm(34KB)
----Contributor(s)(205B)
----Update(583B)