image thumbnail

updated 4 days ago

nth_element by Peter Li

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

fast_median.m

fast_median_ip.m

nth_element.m

image thumbnail

updated 4 days ago

Java-based data table by Yair Altman

Spreadsheet display/editing/sorting of data with multiple features (example, uitable, java)

createTable.m

image thumbnail

updated 15 days ago

upsert - automatically handles database inserts/updates by Sven

If a data row already exists, UPDATE that row! If it doesn't exist, INSERT that row! (database, insert, update)

upsert(conn,tableName,fieldNames,keyFields,data, varargin)

image thumbnail

updated 18 days 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 19 days ago

mexPutVariableSharedDataCopy by James Tursa

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 20 days ago

createAccessDSN by Mark Jones

Creates an ODBC DSN in Windows for a Microsoft Access DB File (access database, odbc, data import)

image thumbnail

updated 20 days ago

fixuilabels by Kesh Ikuma

Change 'text' uicontrol objects' vertical alignment (gui, utility, java)

fixuilabels(hFig)

image thumbnail

updated 26 days 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 1 month ago

Pico Technology TC-08 USB data acquisition by Geoffrey Akien

Files to connect, query, and disconnect from the Pico Technology USB TC-08, using DLL's. (usb tc08, pico, data acquisition)

isvalidtc08handle(handle)

usbtc08connect(types, tc08Path, interval)

usbtc08connectslow(types, tc08Path)

image thumbnail

updated 1 month ago

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

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 month ago

UISplitPane - Split a container (figure/frame/uipanel) into two resizable sub-containers by Yair Altman

Split a container (figure/frame/uipanel) into two resizable sub-containers, like Java's JSplitPane (java, gui tools, gui)

uisplitpane(varargin)

image thumbnail

updated 1 month ago

FindJObj - find java handles of Matlab graphic objects by Yair Altman

Find java objects contained within a specified java container or Matlab GUI handle (example, undocumented, findobj)

findjobj(container,varargin)

image thumbnail

updated 1 month ago

matlabServerClient by Arun

Server and Client in MATLAB (network, socket, java)

client(serverIp, serverPort, fileToSend)

server(serverPort, fileName)

image thumbnail

updated 1 month 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 1 month 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 2 months ago

GUI Layout Toolbox by Ben Tordoff

Layout management objects for MATLAB GUIs (gui, boxlayout, pick of the week)

callbackexample()

demoBrowser()

displayEndOfDemoMessage(filename)

image thumbnail

updated 2 months ago

Java Heap Cleaner by Davide Tabarelli

Simple function cleaning up, at runtime, Java heap memory, thus preventing java OutOfMemory error (java, heap space, memory leak)

jheapcl(verbose)

image thumbnail

updated 2 months ago

propertiesGUI - display properties in an editable context-aware table by Yair Altman

propertiesGUI processes and displays a list of data properties in a context-aware GUI table (gui, java, jide)

propertiesGUI(hParent, parameters)

image thumbnail

updated 2 months ago

ScreenCapture - get a screen-capture of a figure frame or component by Yair Altman

ScreenCapture gets a screen-capture of any Matlab GUI handle, or specified screen area rectangle (java, gui)

screencapture(varargin)

image thumbnail

updated 3 months ago

Fetch (Big) by Tucker McClure

Fetch command useful for SELECT queries on large data sets. (fetch, database, query)

fetch_big(connection, query, varargin)

getargin(args, index, default)

image thumbnail

updated 3 months ago

Joystick MEX file by Peter Corke

Portable joystick MEX file using SDL (joystick, mex)

image thumbnail

updated 3 months 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. (real time, video processing, tracking)

DoEdgeStrength(dx,dy,gradInd)

DoFlow(dx,dy,dt,method)

DoFlowPL(dx,dy,dt)

image thumbnail

updated 3 months ago

JTattoo look-and-feel demo GUI by Yair Altman

JTattooDemo demonstrates effects of Look-and-Feel changes (including JTattoo L&F) on GUI controls (gui, java)

JTattooDemo()

image thumbnail

updated 4 months ago

xlwrite: Generate XLS(X) files without Excel on Mac/Linux/Win by Alec de Zegher

Generates ‘.xls’ & '.xlsx' files on Mac/Linux/Win without Excel, using same syntax as xlswrite. (apache poi, excel, jexcelapi)

[status, message]=xlwrite(filename,A,sheet, range)

Test_xlWrite.m

image thumbnail

updated 4 months ago

Loading MIMIC II data using windows, matlab and postgre SQL by Shuang Wang

Loading MIMIC II data using matlab and postgre SQL (mimic ii, database, postgre sql)

import_mimicII_data.m

image thumbnail

updated 4 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 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)

savepng(CDATA,filename,varargin)

benchmark_savepng.m

image thumbnail

updated 5 months ago

Analog / Mixed Signal Examples by Dick Benson

Extensive collection of examples for analog and mixed signal design work. (analog, pll, flyback)

[Out1,Out2]=qsynth(Action,In1,In2)

analyze_BPF(Lval,Cval,Z0)

example_sel2html(fn,new)

image thumbnail

updated 5 months ago

Scrolling Memory Monitor by Jesse Hopkins

Displays recent history of Matlab & Java memory usage. (java, memory)

memtracker(varargin)

image thumbnail

updated 5 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 5 months ago

UIINSPECT - display methods-properties-callbacks of an object by Yair Altman

Inspect an object handle (Java/COM/HG); display its methods/properties/callbacks in a unified window (com, example, object)

uiinspect(obj, fig)

image thumbnail

updated 6 months ago

BSD/Linux Host Information and matlabpoolPlus by Boris Schauerte

Get information about the host on which the Matlab instance is running. Also provides matlabpoolPlus (unix, bsd, linux)

getJavaRuntimeInformation()

getNumProcessorsJava()

matlabpoolPlus(alpha,profname)

image thumbnail

updated 6 months ago

findNlargest by Mattias Karlsson

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

findNlargest.m

image thumbnail

updated 6 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 6 months ago

checkClass by Yair Altman

checks a Java object or classname and displays its methods, enumerations & interfaces (java)

checkClass(obj,level)

image thumbnail

updated 6 months ago

findNsmallest by Mattias Karlsson

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

findNsmallest.m

image thumbnail

updated 7 months ago

mod_mex by Olaf

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

image thumbnail

updated 8 months ago

change system DSN to a difference MS Access Database by Dan

matlab script to change which ms access database (.mdb) is set as the Data Source Name (DSN) (database, dsn, data source name)

setDBgui(varargin)

image thumbnail

updated 8 months ago

Figures-menu adaption for standalone applications by Alexander Mering

Create dockable figures for standalones and disable or remove menu items from the figures container (figure, docking, standalone)

Callback_DockingFcn

Create_Figure

Figure_test

image thumbnail

updated 8 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 8 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 8 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 8 months ago

MATLAB Implementation of Harmonic ANalysis of Time Series (HANTS) by Mohammad Abouali

Harmonic ANalysis of Time Series (HANTS) (harmonic analysis, c, compression)

[Data]=ReconstructImage(amp,phi,nb)

[amp,phi,yr]=HANTS(ni,nb,nf,y,ts,HiLo,low,high,fet,dod,delt...

[yOut, amp, phi]=ApplyHants(y,nb,nf,fet,dod,HiLo,low,high,d...

image thumbnail

updated 8 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 9 months ago

cprintf - display formatted colored text in the Command Window by Yair Altman

Displays sprintf-formatted strings in the Command Window using the specified color/underline style (desktop, gui, java)

cprintf.m

image thumbnail

updated 9 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 9 months ago

wavplayer by Emmanuel Alap

An interactive sound (.wav) player for MATLAB using the built-in audioplayer function. (audioplayer, gui, volume)

wavplayer(varargin)

image thumbnail

updated 10 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 10 months ago

N_PERMUTE_K by Matt Fig

All possible permutations of the elements of set N, taken K at a time, with repetition. (c, combinations, multisets)

npermutek(N,K)

image thumbnail

updated 11 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)

Contact us