image thumbnail

updated 1 year ago

KeyInject by Phillip

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

keyInject(windowName,sendString,returnWindow)

image thumbnail

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

checkClass by Yair Altman

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

checkClass(obj,level)

image thumbnail

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

Mix Database by Vincent

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

MixDatabase

image thumbnail

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

image thumbnail

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

Java Class Origin by Ragaar Ashnod

Quickly find the origin for a java class. (java, class, url)

ClassOrigin(jObj)

image thumbnail

updated almost 3 years ago

statusbar by Yair Altman

set/get status bar(s) for GUI figures & Matlab desktop (gui tools, example, statusbar desktop jav...)

statusbar(varargin)

image thumbnail

updated almost 3 years ago

setFigTransparency - set figure transparency / fading by Yair Altman

setFigTransparency sets the transparency/opacity of a figure window, with optional fading effect (gui, undocumented, java)

setFigTransparency(hFig, alpha, fadeDuration, blockingFlag)

image thumbnail

updated almost 3 years ago

getHWnd - retrieve the underlying Windows handle for Matlab figure(s) by Yair Altman

Enable C++ GUI integration by retrieving the HWnd handle of matlab figure(s) (gui tools, example, java)

gethwnd(hFig)

image thumbnail

updated almost 3 years ago

blurFigure - blurs and prevents interaction on a figure window by Yair Altman

blurs a specified figure window and prevents interaction with it until the figure is un-blurred (gui, java, undocumented)

blurFigure(hFig, state)

image thumbnail

updated almost 3 years ago

Dynamic Search Box by Nate Jensen

A dynamic search box key press function callback for an edit box (keypressfcn, uicontrol, edit box)

KPF_CB(obj,event,jedit_h,slider_h,fig_h,list,func)

KPF_MP_CB(obj,~,edit_h)

KPF_MR_CB(obj,event,edit_h)

image thumbnail

updated almost 3 years ago

Using Java Swing components in MATLAB by Malcolm Lidierth

A custom class that eases the use of Java AWT and Swing components in MATLAB (java, swing, gui)

jcontrol.m

image thumbnail

updated almost 3 years ago

Counter Example by Michelle Hirsch

An example using generic dll calling to use the counter on an NI daq card. (example, application, counter)

GPCTR_Change_Parameter(varargin)

GPCTR_Control(varargin)

GPCTR_Set_Application(varargin)

image thumbnail

updated almost 3 years ago

Kinect SDK with Matlab by Yu-Hsin

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

Kinect()

image thumbnail

updated almost 3 years ago

getUserName by Felipe G. Nievinski

Returns the user name or id, as informed by the operating system. (username, userid, user)

getUserName ()

image thumbnail

updated almost 3 years ago

GoogleEarth in GUI by Sven Koerner

Open GE in Matlab - GUI via ActiveX (google, googleearth, activex)

ge2ma_demo

ge_html(varargin)

image thumbnail

updated almost 3 years ago

Quick Structured Mesh Generator by Tolga Birdal

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

[]=make_mesh_structured()

drawMesh(vertex, face, varargin)

image thumbnail

updated 3 years ago

LISTZIPCONTENTS by Bob Hamans

Lists the contents of a zip file. (zip, list, contents)

listzipcontents(zipFilename)

image thumbnail

updated 3 years ago

AIR Database by Marco Jeub

Database of room impulse responses for the development and evaluation of dereverberation algorithms (dereverberation, room impulse response, binaural)

load_air.m

load_air_examples.m

Contact us