image thumbnail

updated 1 month ago

GUI Layout Toolbox by Ben Tordoff

Layout management objects for MATLAB GUIs (potw, gui, layout)

callbackexample()

demoBrowser()

displayEndOfDemoMessage(filename)

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 (undocumented, example, findobj)

findjobj(container,varargin)

image thumbnail

updated almost 6 years ago

Microsoft 32/64-bit Visual C++ 2008 Express support files by Larry Baker

MEX and MBUILD setup files for 32/64-bit Microsoft Visual C++ 2008 Express and Windows Platform SDK. (matlab, installation, windows)

image thumbnail

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

Matlab Weka Interface by Matt Dunham

Matlab interface for Weka Classifiers (statistics, probability, weka)

[mdata,featureNames,targetNDX,stringVals,relationName] =...

loadARFF(filename)

matlab2weka(name, featureNames, data,targetIndex)

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 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 23 hours 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 (gui, java)

screencapture(varargin)

image thumbnail

updated 1 year 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 9 months 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 5 days 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 (example, com, awesome)

uiinspect(obj, fig)

image thumbnail

updated 1 year ago

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

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

image thumbnail

updated almost 9 years ago

From Simulink to DLL - A tutorial by Roland Pfeiffer

Describes how to build a DLL or shared library from a Simulink model. (whitepaper, article, paper)

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

WindTrader by Steven

WindTrader 程序化交易终端是基于Wind资讯®发布的MATLAB数据及交易接口,用于量化投资活动中账户和策略的建立及管理、模拟和真实交易的监视及控制的程序化交易终端应用。 (gui, java, finance)

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

Profiling MATLAB launched JVM using JProfiler 5.2.1 by Ed Yu

Profiling MATLAB launched JVM using JProfiler 5.2.1 (java, java profiling, external profiler)

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

Analog / Mixed Signal Examples by 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 month ago

statusbar by Yair Altman

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

statusbar(varargin)

image thumbnail

updated 1 month ago

UICOMPONENT - expands uicontrol to all Java classes by Yair Altman

Enhanced replacement for uicontrol & javacomponent, accepting all Java (Swing/AWT) style components (javacomponent, uicontrol, graphics)

[p,ep,st]=createScreenshot

uicomponent(varargin)

image thumbnail

updated 7 years ago

JMatIO - Matlab's MAT-file I/O in JAVA by Wojciech Gradkowski

Package contains Matlab's MAT-file I/O API in JAVA. Supports Matlab 5 MAT-flie format reading and wr (external interface, mat file, java)

image thumbnail

updated 7 years ago

CSMatIO: MAT-file I/O API for .NET 2.0 by David Zier

Package contains Matlab's MAT-File I/O API for .NET 2.0. Supports Matlab 5 MAT-file format. (external interface, mat, matfile)

image thumbnail

updated almost 6 years ago

Using MATLAB Builder for JAVA with Eclipse by Siamak Faridani

Using MATLAB Builder for JAVA with Eclipse (matlab builder, eclipse, java)

image thumbnail

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

MySQL Database Connector by Robert Almgren

Connect to MySQL database. (data import, data export, mysql)

mysql.m

image thumbnail

updated 22 days ago

Tree Controls for User Interfaces by Robyn Jackey

Provides the capability to easily create tree controls for an application or user inter (oop, user interface, gui)

uiextras.jTree.loadJavaCustomizations()

uiextras.jTree.CheckboxTree

uiextras.jTree.CheckboxTreeNode

image thumbnail

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

maximize figure windows by Alain Trostel

Maximize figure windows by using the Microsoft Windows application programming interface (API). (annotation, customization, api)

maximize(h)

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

Calling Shared Libraries from Simulink by Mikhail

This paper discusses several approaches for calling shared libraries from Simulink models (simulink, legacy code tool, lct)

Calling Shared Libraries from Simulink

exlib

simlib_test_dyn.slx

image thumbnail

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

FileTime by Jan Simon

Get and set the times for creation, access and modification of a file or folder (Windows only) (file, time, date)

GetFileTime(FileName, TimeType, OutputType)

SetFileTime(File)

uTest_FileTime(doSpeed)

image thumbnail

updated 10 months ago

adodb_tools by 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 8 years ago

Sobel Edge Detection by Anthony Gabrielson

Sobel Edge Detection (image analysis, sobel, convolution)

image thumbnail

updated 6 years ago

Iterative Closest Point Method, C++ by Per Bergström

ICP fit points in data to the points in model. (optimization, icp, iterative closest poi...)

icpCpp.m

icp_demo.m

kdtree.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 5 years ago

Profiling MATLAB launched JVM using YourKit Java Profiler 8.0.5 by Ed Yu

Profiling MATLAB launched JVM using YourKit Java Profiler 8.0.5 (java, external profiler, yourkit)

image thumbnail

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

Pointsinpolyhedron-Test if points are in polyhedron by guo YuFei

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

Erlang B and C probabilities by Brian Borchers

Computes Erlang B and C probabilities (statistics, probability, erlang)

B=erlangb(n,rho)

C=erlangc(n,rho)

E=engset(m,n,rho)

image thumbnail

updated 5 years ago

Image Aquisition by Eric

Three VC++ MEX projects enabling simple access to any VfW-source (with multiple cam support). (vfm, vfw, opencv)

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

NatNet (Motive/Arena) simple sample for location data by Or Hirshfeld by Or Hirshfeld

a Simple Sample to transfer Mocap data from Motive/Arena to Matlab using NatNet stream (motive, or hirshfeld, mocap)

NatNet (Natural Point Motive/Arena for Optitrack) locatio...

quaternion

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

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

Deploying a Shared Library by Peter Webb

Example code for "Deploying Shared Libraries" posting in the "Art of MATLAB" blog. (vigenere, cryptography, cipher)

decrypt(ciphertext, key)

encrypt(plaintext, key)

vigenere

Contact us