image thumbnail

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

Access a MATLAB Compiler Generated DLL by Todd Flanagan

Use WIN32 api to load Compiler generated dll at runtime. (external interface, loadlibrary, mcc)

aplusb(a,b)

image thumbnail

updated almost 5 years ago

closewindow by Matthew Simoneau

Close any window by name. (gui tools, example, close)

closewindow(name)

image thumbnail

updated 5 years ago

ImProc application created with MATLAB(R) Compiler(TM) and Visual Studio(R) by Martti K

How to integrate a MATLAB(R) generated C++ DLL with a Visual Studio(R) MFC application (image processing, demo, visual studio)

myhisteq(in)

myhistimage(in)

myimshow(in)

image thumbnail

updated 5 years ago

Matlab driver DSO2090 by Paul

Routine for obtaining data from digital storage oscilloscope DSO2090. (driver, dll, digital storage oscil...)

DSO_2090(varargin)

image thumbnail

updated 5 years ago

How to load / call functions from a VB DLL by Gordon

A brief overview on how to create a DLL in VB .Net which can be used from within Matlab. (vb, visual basic, dll)

VB_Dll_Demo.m

image thumbnail

updated 6 years ago

Dasslc Mex file compilation to Matlab 5.3 and 6.5! by Giovani Tonel

I have compiled a Dasslc solver version (MATLAB MEX INTERFACE), in order to use with Matlab (version (differential equation..., dasslc, dae)

[PD,ires]=jacpend(t,y,yp,cj,rpar)

[res,ires]=dydt(t,y,yp,rpar)

[res,ires]=dydt1(t,y,yp)

image thumbnail

updated 7 years ago

Simple example how to create a mex-file! by Giovani Tonel

Example how to create a mex-file (.dll) (simulation, mexfiles, dll)

func(pto,x,y,op)

tridi(a,b,c,d)

dif_finitas_tridi.m

image thumbnail

updated 7 years ago

Dassl Mex file compilation to Matlab 5.3 and 6.5! by Giovani Tonel

I have compiled a Dassl solver version (MATLAB MEX INTERFACE), in order to use with Matlab (version (integration, dassl, dae)

dxdt(t, x, rpar)

dydt(t, y, yp, rpar)

run_Dassl_test_problem.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 8 years ago

Automatic Rebase by Johannes Kissel

Partially solution for the problem with the discrepance between available and Matlab-used memory (optimization, rebase, dll)

image thumbnail

updated almost 9 years ago

Matlab -> dl l-> JNI -> Java working example by Wojciech Gradkowski

This is a code sample of m-file->dll->JNI->Java interfacin (matlab compiler, java, jni)

myrand()

deployprint.m

dirname.m

image thumbnail

updated almost 9 years ago

Call a waitbar from within a DLL written in C by Bill Davidson

Example code for embedding a call to the Matlab waitbar() function from within a DLL written in C (external interface, c, matlab)

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

API in Matlab by Andery Muzhichkov

How to call API in Matlab. Open, close CD, maximaize, minimaize window. (gui tools, example, api)

image thumbnail

updated 9 years ago

snap the screen by Darnshong chen

matlab mex file to snap the screen (image generation, snap, screen)

a=screensnap(b)

image thumbnail

updated 9 years ago

squareWave by Christopher Ruckman

Creates a square wave output on a Nationall Instruments DAQ card using generic DLL calls. (example, application, nidaq)

image thumbnail

updated almost 10 years ago

Selecting multiple files by Rex Tenorio

Allows the user to open multiple files. (path, directories, files)

image thumbnail

updated 10 years ago

XLSWriteMex by Gordon Ray

MATLAB MEX function to create an Excel spreadsheet. (data import, data export, write)

image thumbnail

updated 11 years ago

atlSocket by David Ganor

A TCP/IP client-side socket entity implemented as an ActiveX DLL. (data import, data export, tcpip)

tcp_close(tcp_client_h)

tcp_connect(ip_address, port_num)

tcp_geterror(tcp_client_h)

image thumbnail

updated 17 years ago

recordsnd by Daniel Lee

RECORDSND.DLL is a Mex file that allows you to record sound directly into a Matlab matrix. (sound, record sound, utilities)

recordsnd.m

image thumbnail

updated 17 years ago

wavplay by Andrew Sterian

WAVPLAY.M calls a DLL that runs only under Win32 with Matlab 5. (sound, waveplay, calls)

Contact us