image thumbnail

updated 4 hours ago

Write STL C++Mex function by Arso

c++ mex function for writing ASCII stl file from nodes and triangles list (c, mex, stl)

test

image thumbnail

updated 3 days ago

OpenCV-Matlab by Boris Schauerte

OpenCV-Matlab is a C++ template library to convert between Matlab and OpenCV images (opencv, mex, conversion)

image thumbnail

updated 29 days ago

Joystick MEX file by Peter Corke

Portable joystick MEX file using SDL (joystick, mex)

image thumbnail

updated 1 month ago

Real time optical flow, and video processing by Stefan Karlsson

Real time optical flow, and video processing, with support for camera input in Matlab. (motion estimation, optical flow, tracking)

DoEdgeStrength(dx,dy,gradInd)

DoFlow(dx,dy,dt,method)

DoFlowPL(dx,dy,dt)

image thumbnail

updated 2 months ago

Recursive Directory Searching for Multiple File Specs by Jonathan Sullivan

Searches a directory for multiple file specs with optional recursivity (dir, recursive, files)

dir2(dn,varargin)

image thumbnail

updated 2 months ago

savepng by Stefan Slonevskiy

savepng is a fast PNG image compression routine that outperforms MatLab's built-in imwrite (png, mex, image)

savepng(CDATA,filename,varargin)

benchmark_savepng.m

image thumbnail

updated 3 months ago

KeyInject by Phillip

Send key strokes to any window from within Matlab (key stroke, send, window)

keyInject(windowName,sendString,returnWindow)

image thumbnail

updated 4 months ago

findNlargest by Mattias Karlsson

Finds the N largest values in the input. Very fast. (optimization, mathematics, mex)

findNlargest.m

image thumbnail

updated 4 months ago

Example MATLAB class wrapper for a C++ class by Oliver Woodford

An example of how to safely encapsulate a C++ class in a MATLAB class, via a mex interface. (c, mex, wrapper)

class_interface

image thumbnail

updated 4 months ago

findNsmallest by Mattias Karlsson

Finds the N smallest values in the input. Very fast. (mex, min, fast)

findNsmallest.m

image thumbnail

updated 5 months ago

mod_mex by Olaf

FORTRAN 90 modules with interface declarations for the MATLAB API (mex, fortran90api)

image thumbnail

updated 6 months ago

mexme - write MEX files in no time by Patrick Mineault

writes fully valid MEX .cpp files including mexFunction boilerplate based on numeric C/C++ snippet (mex, c, compiled code)

mexme(cstring,inputargs,outputargs,opts)

myrecursivefilter(x,alpha)

parseTemplate(str,varargin)

image thumbnail

updated 6 months ago

mex setup for windows x64 intel c compiler 13 (XE) by Igor

mex -setup icc13 linker options (mex setup, external interface, mex)

image thumbnail

updated 6 months ago

ICC_mex_tools by Igor

These tools provide a simple interface to Intel C++ compiler optimization features. (icc_mex_tools, external interface, intel c compiler)

mex_ICC_O3(config)

mex_ICC_PGOgen(config)

mex_ICC_PGOuse1(config)

image thumbnail

updated 6 months ago

MS Visual Studio property sheet for building MEX function by Kesh Ikuma

Using Property Sheet to make VS project configuration easy (mex, development, visual studio)

image thumbnail

updated 7 months ago

Fast String to Double Conversion by Lauri Tamminen

str2doubleq converts text to double like Matlab's str2double,but up to 400x faster! multithreaded. (data import, finance, mex)

test_str_to_double_performance()

image thumbnail

updated 8 months ago

MexThread by Thomas Weibel

Using std::thread in MEX files for expensive data processing without freezing Matlab. (mex, background processing, image processing)

MexThread

demoGaussianBlurThread.m

image thumbnail

updated 9 months ago

mxArrayIndexingClass by Mirko Kunze

mxArray indexing class for mex-file programming (matrix, mex, multidimensional)

runtestarrayclass.m

image thumbnail

updated 9 months ago

rook pivoting by Leslie Foster

LURP: Gaussian elimination with rook pivoting using efficient Fortran and MATLAB mex code (rook pivoting, lu factorization, rook)

lurp_install

lurp_test(tol,m)

lurp_test_SJ(tol,nsamples)

image thumbnail

updated 10 months ago

Ray Tracing Volume Renderer by Scott Robertson

Renders a 3D volume according to a intensity indexed color map and opacity map via ray tracing. (medical imaging, image processing, volume rendering)

ParallelRayGenerator3d(volume,dimx,dimy,raystep)

volumeRenderDemo.m

image thumbnail

updated 1 year ago

Universal MEX wrapper by Thomas

Call any function in a shared library from Matlab (with some limits on the function signature). (c, wrapper, dll)

dl_check(symbol)

dl_exec(funName, varargin)

dl_load(libPath, varargin)

image thumbnail

updated 1 year ago

Segments Intersection Test Functions by Francesco Montorsi

Functions that count the intersections among 2-D segments. Special cases are accounted for. (segment, 2d, intersection)

test_segments_intersect

image thumbnail

updated 1 year ago

Check whether mex file is compiled for system by Christopher Hummersone

Check if mex file is compiled for the OS or if the source was modified since it was compiled. (mex, compile)

check_mex_compiled(varargin)

image thumbnail

updated 1 year ago

Interface to a LBFGS solver by Arne Vagren

Matlab interface to a LBFGS-code for solving unconstrained minimization problems. (1norm, lbfgs, mex)

lbfgs(f,x0,options)

objective(x,varargin)

example.m

image thumbnail

updated 1 year ago

Fortran 95 Interface to MATLAB API with extras! by James Tursa

This is the one you have been waiting for, a clean interface using assumed shape Fortran pointers. (fortran 95, fortran, 95)

MatlabAPI_build_cvf61.m

MatlabAPI_build_cvf66.m

MatlabAPI_build_intelf10msvs2005.m

image thumbnail

updated 1 year ago

Kinect Microsoft SDK by Dirk-Jan Kroon

Video, Audio, Depth Stream and Skeleton tracking (microsoft sdk, 2d, 3d)

compile_cpp_files(MicrosoftSDKPath)

Example.m

ExampleMicrophone.m

image thumbnail

updated 1 year ago

Hadamard transform c mex implementation by Peter Stobbe

C implementation of Hadamard transform (signal processing, hadamard, mex)

image thumbnail

updated 1 year ago

nth_element by Peter Li

MEX wrap of C++ nth_element. Plus fast_median, a faster median function. Also can operate in-place. (cpp, median, selection algorithm)

fast_median.m

fast_median_ip.m

nth_element.m

image thumbnail

updated 1 year ago

Kinect SDK with Matlab by Yu-Hsin

Mex-file with pure "Kinect for Windows SDK" implementation. (depth, kinect, mex)

Kinect()

image thumbnail

updated 1 year ago

Compile Mex-file using Kinect SDK with VS2010 by zhang

It's a guide about compiling Mex-file using kinect SDK(Microsoft Version). (kinect, mex, vs2010)

image thumbnail

updated 1 year ago

semaphore by Joshua Dillon

This mex file provides an interface with the POSIX semaphore functionality. (distributed computing, hpc, interprocess communic...)

semaphore.m

image thumbnail

updated 1 year ago

arrayadapt by Armin Schmidt

A C++ wrapper class for MATLAB's mxArray type (mex, c, matrix)

image thumbnail

updated almost 2 years ago

Quick Structured Mesh Generator by Tolga Birdal

Fast generation of structured meshes given the vertices (MEX!). Interpolation/resizing of the mesh. (3d, point cloud, interpolate)

[]=make_mesh_structured()

drawMesh(vertex, face, varargin)

image thumbnail

updated almost 2 years ago

Fast Gaussian Transform mex implementation by Sebastien PARIS

Mex inplementation of the FGT transform (statistics, probability, fgt)

test_fgt

mexme_fgt.m

image thumbnail

updated almost 2 years ago

IntersectPlaneTriangle mex by Mehmet OZTURK

Calculation of intersection between a plane and a triangle (intersection, plane, triangle)

example.m

image thumbnail

updated almost 2 years ago

DISTANCE2LINE c++ mex by Mehmet OZTURK

Orthogonal euclidean distances of points to a line with c++ mex (orthogonal euclidean ..., line, mex)

example.m

image thumbnail

updated almost 2 years ago

Kinect Matlab by Dirk-Jan Kroon

Microsoft Kinect, OpenNI wrapper, Skeleton, Depth (2d, kinect, wrapper)

J=imagemax(Iin)

[I_SSD,I_NCC]=template_matching(T,I)

compile_cpp_files(OpenNiPath)

image thumbnail

updated almost 2 years ago

Sending digital codes with Measurement Computing boards with mex by Ryan Kelly

Sends digital codes with MCC boards faster than the Data Acquisition Toolbox. (mcc, digital codes, mex)

digCode(data)

image thumbnail

updated almost 2 years ago

Simplifying mexfunctions by William Handler

I wrote a class to be included in the mexfunction file to make processing of mexfunction simpler. (mex, optimization)

image thumbnail

updated almost 2 years ago

FileTime by Jan Simon

Get and set the times for creation, access and modification of a file or folder (Windows only) (date, creation, file)

GetFileTime(FileName, TimeType, OutputType) %#ok<STOUT,INU...

SetFileTime(File) %#ok<INUSD>

uTest_FileTime(doSpeed) %#ok<INUSD>

image thumbnail

updated almost 2 years ago

Microsoft Visual Studio 2010 Professional x64 Support Files for MATLAB by Wonsang You

MEX setup files for 64-bit Microsoft Visual Studio 2010 Professional. (matlab, mex, visual c)

image thumbnail

updated almost 2 years ago

sharedmatrix by Joshua Dillon

SHAREDMATRIX Allows any Matlab object to be shared between Matlab sessions (w/o using file I/O). (distributed computing, large data, shared memory)

S=whosshared(HEXOUTPUT)

SharedMemory_install

test

image thumbnail

updated almost 2 years ago

Interactive fractal viewer for the Mandelbrot and Julia sets by Christopher

Mandelbrot and Julia set viewer with C subfunction with up to 1E10x zoom with pan enabled. (fractal, mandelbrot, mex)

main(varargin)

image thumbnail

updated 2 years ago

mex setup for windows x64 intel c compiler 12 (XE) with VS2010 by Igor

mex -setup icc12 with VS2010 linker option (mexopts, intel c compiler, mex)

image thumbnail

updated 2 years ago

mex setup for windows x64 intel c compiler 12 (XE) with VS2008 by Igor

mex -setup icc12 with VS2008 linker option (mexopts, intel c compiler, mex)

image thumbnail

updated 2 years ago

High Accuracy Timer for Windows by Ivo Houtzager

High-resolution performance counter (accuracy, clock, timer)

hat

image thumbnail

updated 2 years ago

Extrimely fast general n-dimensional interpolators by Lauri Tamminen

Mex C++ interpolator routines for general pp-forms in any dimension. Multithreaded. (interpolation, ppform, mex)

InterpTests(nSites,nLoops)

Results

docs

image thumbnail

updated 2 years ago

Fast Inpolygon in MEX by Tolga Birdal

Fast inpolygon function implemented in MEX. So far one of the fastest. (inpolygon, inpoly, points in polygon)

[]=sample_inpolygon()

inpoly(p,node,edge,TOL)

image thumbnail

updated 2 years ago

typecast and typecastx C-mex functions by James Tursa

typecast and typecastx are mex functions that mimic the MATLAB typecast function with extensions (cast, external interface, typecast)

typecast(varargin)

typecastx(varargin)

image thumbnail

updated 2 years ago

Non-wait detection of keyboard input (including MEX implementation) by Amanda

Returns last key pressed in command window without having to explicitly wait for input. M-file & MEX (kbhit, getchar, getkey)

kbhit(cmd)

Contact us