image thumbnail

updated 8 months ago

Kepler State Transition Matrix (MEX) by Rody Oldenhuis

Rody Oldenhuis

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

image thumbnail

updated 8 months ago

XSum by Jan Simon

Jan Simon

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

InstallMex(SourceFile, varargin)

XSum(varargin)

image thumbnail

updated 8 months ago

DeployAnywhere.zip by Peter Webb

Peter Webb

Example code for "Deploy Anywhere" article in "Art of MATLAB" blog. (deployment, java, application)

checkWaterQuality(latitude, longitude, radius, period, ...

detectContamination(latitude, longitude, ...

extractMeasurements(waterData)

image thumbnail

updated 8 months ago

Embedded Coder Target for Arduino by MathWorks Embedded Coder Team

Custom target for Arduno and other processors (arduino, support package, pil)

arduino_ec.flash( modelName )

arduino_ec.runAvrDude(hexFile)

arduino_ec_make_rtw_hook(hookMethod, modelName, ~, ~, ~, ~)

image thumbnail

updated 9 months ago

SoundVolume - set or get the system speaker sound volume by Yair Altman

Yair Altman

SoundVolume sets or gets the computer system's speaker sound volume, using Java (java, sound)

SoundVolume(volume)

image thumbnail

updated 9 months ago

Figure from text file (supports HTML tags) by Andrew

Andrew

This function takes text from a file and creates a figure to display it (html, jlabel, jtable)

FigureFromTxtFile(txt_file, fig_name)

image thumbnail

updated 9 months ago

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

Hanan Shteingart

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

image thumbnail

updated 9 months ago

MRiLab v1.2 by Fang Liu

Fang Liu

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

ADCRadial.m

AboutMRiLab(varargin)

About_MU(varargin)

image thumbnail

updated 11 months ago

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

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 11 months ago

dbarray - pack and unpack database arrays to matlab arrays by Sven

Sven

dbarray lets you directly send/fetch array[] type database fields into native MATLAB variables (database, array, multidimensional)

dbarray.pack( dataIn, dbConn, dataType )

dbarray.packJavaArray( dataIn, jClass )

dbarray.unpack( objIn )

image thumbnail

updated 11 months ago

Screenshot Video by lindo Ouseph

lindo Ouseph

Capture the area of interest from the screen for a period to make video (video, screenshot video, realtime video captur...)

Screen

Screen

setFigTransparency(hFig, alpha, fadeDuration, blockingFlag)

image thumbnail

updated 12 months ago

CUDA_MEX_CMake by Fang Liu

Fang Liu

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

image thumbnail

updated 12 months ago

MEX_CMake by Fang Liu

Fang Liu

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

image thumbnail

updated 12 months ago

OpenMP_MEX_CMake by Fang Liu

Fang Liu

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

image thumbnail

updated 1 year ago

adodb_tools by Jaroslaw Tuszynski

Jaroslaw Tuszynski

Adodb_tools allow communication with different types of databases through ADO OLEDB component. (ado, blob, data export)

Tutorial for adodb_toolbox Package

ado_connection=adodb_connect(connection_str, timeout)

adodb_query(ado_connection, sql, Pref)

image thumbnail

updated 1 year ago

nthperm by Peter Li

Peter Li

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

nthperm(v, n)

image thumbnail

updated 1 year ago

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

Yair Altman

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

propertiesGUI(hParent, parameters)

image thumbnail

updated 1 year ago

Fast batch generation of permutations by Peter Li

Peter Li

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

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

image thumbnail

updated 1 year ago

nth_element by Peter Li

Peter Li

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

xxd (hexdump) by Boris Schauerte

Boris Schauerte

xxd provides a data export interface to C/C++ headers by generating a static C/C++ array definition (c, data export, hex dump)

xxd(data,name,fid)

xxd_demo.m

image thumbnail

updated 1 year ago

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

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

interp_linear_c by Felipe G. Nievinski

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

Analog / Mixed Signal Examples by Dick Benson

Dick Benson

Extensive collection of examples for analog and mixed signal design work. (dsp, circuit, rf)

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

analyze_BPF(Lval,Cval,Z0)

curveintersect.m

image thumbnail

updated 1 year ago

CREATE TABLE AND SAVE DATA by RAHUL RANJAN

RAHUL RANJAN

PASS ENTRIES IN TABLE AND SAVE AS MAT FILE (table, database, passing variables in ...)

ABCD(varargin)

image thumbnail

updated 1 year ago

MAKE TABLE by RAHUL RANJAN

RAHUL RANJAN

Pass your data in different edit box and select go. you will find that your entries is seen in table (uitable, examples of gui, gui)

ABCD(varargin)

image thumbnail

updated 1 year ago

upsert - automatically handles database inserts/updates by Sven

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

Use of MongoDB Java Driver by Guillaume A.

Guillaume A.

A simple example of how to use java driver for mongoDB. (mongodb, database, java)

TestMongo.m

image thumbnail

updated 1 year ago

jMouseEmu: Mouse Emulator (v2.3) by Kesh Ikuma

Kesh Ikuma

A Java-based function to control mouse programmatically (mouse, gui, set focus)

jmouseemu(varargin)

image thumbnail

updated 1 year ago

ObjDiff - Generic object comparator by Yair Altman

Yair Altman

Compares objects of any type inc. Java, Matlab, HG handles, structs, cells & arrays (diff, struct, object)

objdiff(objectA,objectB,varargin)

image thumbnail

updated 1 year ago

Matlab Wrapper for OpenNI 2.2 by Camillo Taylor

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

mexPutVariableSharedDataCopy by James Tursa

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

createAccessDSN by Mark Jones

Mark Jones

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

image thumbnail

updated 1 year ago

fixuilabels by Kesh Ikuma

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

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

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

matlabServerClient by Arun

Arun

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

client(serverIp, serverPort, fileToSend)

server(serverPort, fileName)

image thumbnail

updated 1 year ago

OpenCV-Matlab by Boris Schauerte

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

Write STL C++ Mex function by Arso

Arso

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

test

image thumbnail

updated almost 2 years ago

Java Heap Cleaner by Davide Tabarelli

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

Fetch (Big) by Tucker McClure

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

Joystick MEX file by Peter Corke

Peter Corke

Portable joystick MEX file using SDL (joystick, mex)

image thumbnail

updated almost 2 years ago

Real time optical flow, and video processing by Stefan Karlsson

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

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

Alec de Zegher

  • 1 file
  • 309 downloads
  • 4.82353

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

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

Jesse Hopkins

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

memtracker(varargin)

image thumbnail

updated 2 years ago

KeyInject by Phillip

Phillip

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

keyInject(windowName,sendString,returnWindow)

image thumbnail

updated 2 years ago

BSD/Linux Host Information and matlabpoolPlus by Boris Schauerte

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

findNlargest by Mattias Karlsson

Mattias Karlsson

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

findNlargest.m

Contact us