image thumbnail

updated 24 days ago

Example: Using Nested Functions for Timers by Michelle Hirsch

Example code from MATLAB News & Notes article on nested functions. (nested function, timer, realtime)

nested_callback_ex

image thumbnail

updated 4 months ago

Screenshot Video by 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 5 months ago

Jigsaw puzzle by lindo Ouseph

interactive jigsaw puzzle. (game, image, mouse)

JigSaw

image thumbnail

updated 6 months ago

get pixel value by lindo Ouseph

shows pixel values on mouse tip (gui, image, mouse)

GetPixelValue

image thumbnail

updated 7 months ago

superSlider by Danielle Ripsman

A flexible slider creation tool, that allows for multiple slides along a single axis. (slider, gui, visual)

superSlider(varargin)

image thumbnail

updated 11 months ago

Semaphore by Kevin Wang

Simple semaphore implementation wrapping around Matlab's waitfor. (semaphore, lock, event)

Semaphore

image thumbnail

updated 1 year ago

Simulink Manipulation Utilities by Daniel O'Shea

A collection of functions for manipulating the structure and connectivity of Simulink models (simulink, mask, callback)

addBlockSafe(bSrc, bDest, varargin)

addLineExclusive(srcBlock, srcPortNum, dstBlocks, dstPort...

addLineSafe(srcBlock, srcPortNum, dstBlock, dstPortNum )

image thumbnail

updated 1 year ago

Super Mario Bros. Demo by Mingjing Zhang

A playable demo of Super Mario Bros. World 1-1 with background music (game, gui, animation)

Super Mario Bros. Demo

stl_mario_main()

image thumbnail

updated 1 year ago

Let it snow: falling snow on every figure! by Mingjing Zhang

Amazing falling snow effect for your MATLAB figure. Suitable for Holidays. (holiday, christmas, xmas)

letitsnow(figure_hdl, sf_color)

image thumbnail

updated 2 years ago

Get Rotation Matrix from 2 Orthogonal Planes by Gemma Parra

Computes a 3x3 rotation matrix from two orthogonal planes in a 3D point cloud. (rotation, matrix, 3d)

callbackClickARectangleLowerRight(src, eventData, pointCl...

callbackClickARectangleUpperLeft(src, eventData, pointClo...

getRMatrix(pointCloud)

image thumbnail

updated 2 years ago

enable_editclick_notification by David

Causes the currentobject property of a figure to be properly updated when an edit field is clicked. (gui, callback, currentobject)

enable_editclick_notification(figh)

image thumbnail

updated 2 years ago

Update error bar widths automatically on figure resize by Chris Rodgers

Add callback to the current axis to maintain a sensible error bar width on zooming. (callback, figure, errorbar)

errorbar_tick(h,w,xtype)

updateErrorBars(h)

testUpdateErrorBars.m

image thumbnail

updated 2 years ago

Automatic Map Scale Generation by Jonathan Sullivan

Intelligently creates and places a scale on a figure based on the lat/lon limits. (map, scale, callback)

makescale(varargin)

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

datefig: figure handle class with automatically readjusting date ticks by Mark Mikofski

Handle class object that automatically resets date ticks after resize, zoom or pan. (figure, datetick, class)

datefig

image thumbnail

updated almost 4 years ago

Standalone Pulldown Menus by Kevin Crosby

Standalone pulldown menus with title. (pulldown, uicontrol, callback)

pulldown(varargin)

image thumbnail

updated 4 years ago

hover highlight by Nick Stokes

simple hover and highlight functionality (hover, windowbuttondownfcn, callback)

hoverlines( varargin )

image thumbnail

updated 4 years ago

CLICKUICONTROL by Jiro Doke

Emulates clicking on a UIcontrol object. (gui, display, annotation)

clickUIcontrol(h, focus, opt)

image thumbnail

updated 4 years ago

Click3dPoint by Babak Taati

Select a point from a 3D point cloud by clicking on it. (gui tools, mouse, click)

callbackClickA3DPoint(src, eventData, pointCloud)

clickA3DPoint(pointCloud)

rowNorm(A)

image thumbnail

updated 5 years ago

GUIDE Callback Helper by Brian Cody

Get access to callback event data in your GUIDE GUIs. (gui, callback, guide)

GuideCallbackHelper

image thumbnail

updated 6 years ago

addcallback by Almar Klein

Add a function handle to a callback list. All functions in the list are run when the callback execut (addcallback, callback, events)

addcallback(h,callbackname,fun)

callbackDemo

listcallback(h,callbackname)

image thumbnail

updated 6 years ago

Example: GUIDE ButtonDownFcn Callback by Narupon Chattrapiban

The GUI executes a callback function when a mouse is clicked over a figure. (gui tools, example, guide)

tut_buttondownfcn_hittest2(varargin)

image thumbnail

updated 7 years ago

FHook by Gabriele Lombardi

A took to simply use hooking techniques and AOP. (development environme..., callback, hooking)

FH_demo_hooked

FH_demo_hooked_aspect(arg1,arg2)

FH_hook(type,vars,pars)

Contact us