dlib/dlib/matlab
Joel Nelson 18711b55a8 detect file extension of mex function 2018-06-29 12:39:27 -04:00
..
CMakeLists.txt
README.txt
call_matlab.h
cmake_mex_wrapper
example.m
example_mex_callback.cpp
example_mex_class.cpp
example_mex_function.cpp
example_mex_struct.cpp
mex_wrapper.cpp
subprocess_stream.cpp
subprocess_stream.h

README.txt

This folder contains a set of tools which make it easy to create MATLAB mex
functions.  To understand how they work, you should read the
example_mex_function.cpp, example_mex_struct.cpp, and  example_mex_callback.cpp examples.

To compile them, you can use CMake.  In particular, from this folder execute
these commands:

   mkdir build
   cd build
   cmake ..
   cmake --build . --config release --target install

That should build the mex files on any platform.

Note that on windows you will probably need to tell CMake to use a 64bit
version of visual studio.  You can do this by using a command like:
   cmake -G "Visual Studio 10 Win64" ..
instead of
   cmake ..