image thumbnail

updated 1 year ago

Java-based data table by Yair Altman

Spreadsheet display/editing/sorting of data with multiple features (gui tools, example, table)

createTable.m

image thumbnail

updated 1 year 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 1 year ago

fixuilabels by Kesh Ikuma

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

fixuilabels(hFig)

image thumbnail

updated 1 year ago

Kinect Matlab by Dirk-Jan Kroon

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 1 year 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 year 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, gui tools)

uisplitpane(varargin)

image thumbnail

updated 1 year ago

matlabServerClient by Arun

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

client(serverIp, serverPort, fileToSend)

server(serverPort, fileName)

image thumbnail

updated 1 year 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 1 year 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 1 year ago

Fetch (Big) by Tucker McClure

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

fetch_big(connection, query, varargin)

getargin(args, index, default)

image thumbnail

updated 1 year 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 almost 2 years 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 almost 2 years 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. (xlswrite, excel, xlwrite)

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

Test_xlWrite.m

image thumbnail

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

Scrolling Memory Monitor by Jesse Hopkins

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

memtracker(varargin)

image thumbnail

updated almost 2 years ago

KeyInject by Phillip

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

keyInject(windowName,sendString,returnWindow)

image thumbnail

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

image thumbnail

updated almost 2 years ago

checkClass by Yair Altman

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

checkClass(obj,level)

image thumbnail

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

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

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

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

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

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

image thumbnail

updated 2 years 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 (java, desktop, gui)

cprintf.m

image thumbnail

updated 2 years ago

Fast String to Double Conversion by Quant Guy

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

Limit figure size by Jan Simon

Set minimal or maximal size of a figure (figure, size, resize)

LimitSizeFig(FigH, Prop, Ext)

uTest_LimitSizeFig(doSpeed)

image thumbnail

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

N_PERMUTE_K by Matt Fig

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

npermutek(N,K)

image thumbnail

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

xlwrite : Export Data to Excel from Matlab on Mac/Win by Marin Deresco

xlwrite allows you to export data (2d/3d arrays of double/cell) to Excel from Matlab (Mac/Win) (java, xlswrite, mac)

Cell2JavaString.m

[Result]=xlwrite(file,data,sheet)

cell2char(C)

image thumbnail

updated 2 years ago

Reorderable Listbox by Erik Koopmans

Creates a listbox whose contents can be reordered by clicking and dragging items. (listbox, uicontrol, gui)

findjobj(container,varargin)

reorderableListbox( ...

image thumbnail

updated 2 years ago

Antoine Equation: GUI by David Hagan

This GUI calculates vapor pressure as a function of temperature and plots P over the allowable range (gui, antoine, vapor pressure)

AntoineDB_GUI(varargin)

image thumbnail

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

VU-Kinect by James Peyton Jones

A simple Simulink interface to the libfreenect Kinect driver for Linux-based systems (kinect, real time, linux)

installKinect(cmd,rootInstallDir,downloadDir)

edge_detection

kinect

image thumbnail

updated 2 years ago

queryMySQL by Jonathan Karr

Platform independent MySQL database solution with blob support. (data export, data import, mysql)

db2mat(db,indices,imps)

mat2db(fileName,db,indices,imps)

edu.stanford.covert.db.Database

image thumbnail

updated 2 years ago

Heightprofile from GoogleEarth to 3D-Surface by Sven Koerner

The tool get the height-Profile from GoogleEarth via COM-API and the image to generate a 3D-surface. (3d, surface, plot)

ge_test1

image thumbnail

updated 2 years ago

Expert System with PROLOG to Simulink by Marcelo Fernandes

PROLOG to Simulink with The SWI-Prolog and JPL (Java Interface to PROLOG) (expert system, prolog, swiprolog)

[sys,x0,str,ts] =SWIPrologInterface(t,x,u,flag,jarFile,pl...

example1

image thumbnail

updated almost 3 years ago

Universal MEX wrapper by Thomas

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

dl_check(symbol)

dl_exec(funName, varargin)

dl_load(libPath, varargin)

image thumbnail

updated almost 3 years ago

Nth_Oct_Hand_Arm_&_AC_Filter_Tool_Box by Edward Zechmann

Features Nth octave band, Hand Arm, and A and C weighting filters (noise, nth octave, octave)

ACdsgn(Fs)

Test_Nth_oct_filters1(resample_filter)

[A2, A_str, real_digitsL, real_digitsR, imag_digitsL, ima...

image thumbnail

updated almost 3 years ago

Making MATLAB Swing More by Malcolm Lidierth

Import of Java Swing GUIs from Eclipse, NetBeans, IntelliJ etc (gui, swing, java)

obj=GXJFrame(target, title, contents, alpha)

GImport

jcontrol.m

image thumbnail

updated almost 3 years 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 almost 3 years 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 almost 3 years ago

Mix Database by Vincent

Use database-schemes in Matlab for more speed (database, matlab, sql)

MixDatabase

image thumbnail

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

Comparison of C++, Java, Python, Ruby and MATLAB Using Object Oriented Example by Stuart McGarrity

RedBlack Tree Binary Search Example Used to Compare of C++, Java™, Python, Ruby and MATLAB® Code (whitepaper, article, paper)

test_RedBlackTree

NodeVisitor

RedBlackTree

image thumbnail

updated 3 years ago

Comparison of C++ and MATLAB Using Object Oriented Application Example by Stuart McGarrity

Wireless Communications Application Example Used to Compare C++ and MATLAB® Code (whitepaper, article, paper)

[BER, errors]=btint(varargin)

arg=getArg(argPosition,vararg_in,default)

rsrc=setRSRCpulseShapingFilter(rsrc, rollOff)

image thumbnail

updated 3 years ago

Liberating Deployed Application Output from the Console Window by Peter Webb

Source code for "Art of MATLAB" blog posts describing how to manage output in deployed applications. (c, matlab compiler, mcc)

sendmessages(info, warn, err)

image thumbnail

updated 3 years ago

PESQ MATLAB Wrapper by Kamil Wojcicki

MATLAB wrapper for the PESQ binary. Both narrowband and wideband (WB-PESQ) modes are supported. (pesq, wbpesq, nbpesq)

pesqbin( reference, degraded, fs, mode )

test_pesqbin.m

Contact us