image thumbnail

updated 13 hours ago

MexTrotter by Luca Calderaro

Solve the Schrödinger equation for Bose-Einstein condensate in static external potentials in 2D (physics, 2d, mex)

image thumbnail

updated 14 days ago

audiofilter/mex-it by Tony Kirke

Simplify creation of mex file for C++ function (mex, optimization)

image thumbnail

updated 20 days ago

imrotate( image, degree ) by Adam

Adam (view profile)

Nearest Neighbour Image Rotation without mex-files (rotation, mex, without mex)

imrotate( image, degree )

image thumbnail

updated 27 days ago

Robust solver for Lambert's orbital-boundary value problem by Rody Oldenhuis

Rody Oldenhuis (view profile)

Solves any Lambert-problem robustly. Can be compiled to increase efficiency. (orbital mechanics, space, space mechanics)

image thumbnail

updated 27 days ago

Parallel Particle Swarm Optimizer for CUDA/C Mex Models by Jordan

Jordan (view profile)

Matlab (parallel, particle, swarm)

Parallel_Particle_Swarm_Optimization.m

RandomObjective(ITERATIONS_PER_SIMULATION, ...

image thumbnail

updated 1 month ago

C-mex S-function interface to Natural Point Motive (Optitrack) in Simulink by Or Hirshfeld by Or Hirshfeld

C-mex S-function interface to Natural Point Motive (Optitrack) in Simulink by Or Hirshfeld (simulink, api, c)

image thumbnail

updated 2 months ago

orhirshfeld/Motive-Optitrack-API-C-mex-Matlab by Or Hirshfeld

Connect to Motive (Optitrack Cameras) using Matlab and C mex file (optitrack, or, hirshfeld)

image thumbnail

updated 3 months ago

findInRange by Joseph O'Doherty

Find elements within many ranges. Faster than find() for large N. Useful for PSTHs and rasterplots. (neuroscience, psth, rasterplot)

findInRange.m

image thumbnail

updated 3 months ago

ADInstruments (LabChart) SDK by Jim Hokanson

Jim Hokanson (view profile)

Read LabChart .adicht files with Matlab (mex, data import, sdk)

image thumbnail

updated 4 months ago

savepng by Stefan Slonevskiy

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

image thumbnail

updated 5 months ago

Pointsinpolyhedron-Test if points are in polyhedron by YuFei Guo

YuFei Guo (view profile)

Test if points are inside/outside/on single material or multi-material triangulated polyhedron (point, points, polyhedron)

Tutorial and examples of PINPOLYHEDRON function

first_step.m

image thumbnail

updated 5 months ago

num2cell_mex.c by Christopher Harris

A num2cell routine which is a little faster than matlabs m code (mex, num2cell)

image thumbnail

updated 5 months ago

sub2ind_mex by Christopher Harris

A very fast sub2ind routine in mex ( C ) (mex, sub2ind)

image thumbnail

updated 5 months ago

fastFindK by Christopher Harris

Find k occurances of a value in array. Slightly faster than the usual routs. (mex, find)

image thumbnail

updated 5 months ago

catStructs.c by Christopher Harris

catStructs.c concatinates two structures, each with unique feilds. Outputs one structure. (structures, concatination, mex)

image thumbnail

updated 5 months ago

ismember_mex.c by Christopher Harris

Fast "ismember" routine for sorted arrays (mex, ismember)

image thumbnail

updated 6 months ago

Skipping Stone - An interplanetary space mission design tool by Rody Oldenhuis

Rody Oldenhuis (view profile)

An easy-to-use tool to optimize trajectories for interplanetary missions using swingby manoevres (aerospace, satellite, space mission)

image thumbnail

updated 6 months ago

VTK 6.1 mex demo incl. complete tutorial for installation of VTK 6.1 under Windows by Mimi

Mimi (view profile)

use vtk 6.1 with matlab via mex under windows, installationguide for VTK 6.1 (mex, vtk, visualization toolkit)

VTKLoadLibraries(filename)

image thumbnail

updated 8 months ago

MATLAB trilinear interpolation by Mehmet OZTURK

Mehmet OZTURK (view profile)

A Matlab mex function to perform trilinear interpolation. (interpolation, signal processing, mex)

image thumbnail

updated 8 months ago

DISTANCE2LINE c++ mex by Mehmet OZTURK

Mehmet OZTURK (view profile)

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

example.m

image thumbnail

updated 8 months ago

IntersectPlaneTriangle mex by Mehmet OZTURK

Mehmet OZTURK (view profile)

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

example.m

image thumbnail

updated 8 months ago

spok: checks if a MATLAB sparse matrix is OK by Tim Davis

Tim Davis (view profile)

Useful for mexFunction authors only (linear algebra, sparse, mex)

spok

spok_install

spok_test

image thumbnail

updated 8 months ago

xml2struct by Jan Hermann

This small mex function converts an XML file into a MATLAB structure (xml, mex, xml2struct)

image thumbnail

updated 10 months ago

Call_C_Function_from_MATLAB.zip by James D.B. Wang

An simple example to show how to execute C-function in MATLAB environment (mex, c)

Run_MEX_CinM_Test_2014_0828_1.m

image thumbnail

updated 10 months ago

crobarcro/mcode-cpp-utilities by Richard Crozier

C++ class wrapper and utilities (mex, c, example)

image thumbnail

updated 1 year ago

Kepler State Transition Matrix (MEX) by Rody Oldenhuis

Rody Oldenhuis (view profile)

Compute Kepler state transition matrix for an arbitrary number of time steps. M and C++ version. (aeronautics, aerospace, kepler)

image thumbnail

updated 1 year ago

XSum by Jan Simon

Jan Simon (view profile)

Fast Sum with error compensation (sum, error, compensated)

InstallMex(SourceFile, varargin)

XSum(varargin)

image thumbnail

updated 1 year ago

Levenshtein Distance Fast (MEX) C++ by Hanan Shteingart

Computing the Levenstein distance between strings fast in matlab using external mex c++ code (levenshtein distance, mex, c)

image thumbnail

updated 1 year ago

MRiLab v1.2 by Fang Liu

Fang Liu (view profile)

A Numerical Simulation Platform for Magnetic Resonance Imaging (MRI) (medical imaging, medical, mri)

ADCRadial.m

AboutMRiLab(varargin)

About_MU(varargin)

image thumbnail

updated 1 year ago

Setting Microsoft Visual C++ 2013 as default MEX compiler by Adeel Ahmad

Configuration files for setting Microsoft Visual C++ 2013 as default compiler for MEX (x86/x64) (mex, compiler, visual studio 2013)

image thumbnail

updated 1 year ago

CUDA_MEX_CMake by Fang Liu

Fang Liu (view profile)

An Example of Compiling MEX with CUDA GPU support using CMake (mex, cuda, gpu)

image thumbnail

updated 1 year ago

MEX_CMake by Fang Liu

Fang Liu (view profile)

Compile MEX using CMake (mex, cmake, c programming)

image thumbnail

updated 1 year ago

OpenMP_MEX_CMake by Fang Liu

Fang Liu (view profile)

An Example of Compiling MEX with OpenMP support using CMake (mex, openmp, cmake)

image thumbnail

updated 1 year ago

nthperm by Peter Li

Peter Li (view profile)

Directly compute Nth lexicographic permutation (permutation, mex, c)

nthperm(v, n)

image thumbnail

updated 1 year ago

Fast batch generation of permutations by Peter Li

Peter Li (view profile)

Get next block of lexicographic permutations of input vector (permutation, combinatorics, mex)

nextperms.m

nextperms_example_script.m

image thumbnail

updated 1 year ago

Matlab mex support for Visual Studio 2013 (and mbuild) by Petter

Petter (view profile)

Adds mex support for Microsoft’s latest compiler. (mex)

image thumbnail

updated 1 year ago

nth_element by Peter Li

Peter Li (view profile)

MEX wrap of C++ nth_element. Plus fast_median, a faster median function. In-place and parallel. (nth_element, c, mex)

fast_median.m

fast_median_ip.m

nth_element.m

image thumbnail

updated 1 year ago

C/C++ and Matlab types convertor by sun peng

sun peng (view profile)

Bidirectional conversion between C/C++ type (STL, openCV) and Matlab matrix (compile or run time) (external interface, c, mxarray)

draw_points (pnts)

main.m

main.m

image thumbnail

updated 1 year ago

interp_linear_c by Felipe G. Nievinski

C/MEX linear and bi-linear interpolation for regularly spaced data (linear, bilinear, interpolation)

interp1_linear_c.m

interp2_linear_c.m

image thumbnail

updated 2 years ago

Matlab Wrapper for OpenNI 2.2 by Camillo Taylor

A very simple wrapper that provides an interface to RGBD cameras through OpenNI v2.2 (2d3, 3d, anyone tried to compi...)

compile_script.m

image thumbnail

updated 2 years ago

mexPutVariableSharedDataCopy by James Tursa

James Tursa (view profile)

This C routine puts a shared data copy of a variable into a workspace from a mex routine (mex, mexputvariable, mexputvariablesharedd...)

mexPutVariableSDCtest(varargin)

image thumbnail

updated 2 years ago

Kinect Matlab by Dirk-Jan Kroon

Dirk-Jan Kroon (view profile)

Microsoft Kinect, OpenNI wrapper, Skeleton, Depth (kinect, microsoft, skeleton)

J=imagemax(Iin)

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

compile_cpp_files(OpenNiPath)

image thumbnail

updated 2 years ago

OpenCV-Matlab by Boris Schauerte

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

build_opencv_matlab_mex.m

opencv_matlab_mex_demo.m

image thumbnail

updated 2 years ago

Write STL C++ Mex function by Arso

Arso (view profile)

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

test

image thumbnail

updated 2 years ago

Joystick MEX file by Peter Corke

Portable joystick MEX file using SDL (joystick, mex)

image thumbnail

updated 2 years 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 years 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 years ago

KeyInject by Phillip

Phillip (view profile)

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

keyInject(windowName,sendString,returnWindow)

image thumbnail

updated 2 years ago

findNlargest by Mattias Karlsson

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

findNlargest.m

image thumbnail

updated 2 years 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

Contact us