image thumbnail

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

SubFuns by Robert Bemis

Command-line utility to list all function declarations within a specified m-file. (nested function, subfunction, subfuns)

SubFuns(mFile)

image thumbnail

updated almost 5 years ago

BattleShip (R) by Isaac Noh

Learn and have fun with an old classic. (udp, battle, ship)

atboard

atgridpt(position,row,col)

battleship

image thumbnail

updated 6 years ago

guipanel by Dan Cohn

Creates dynamically moveable and resizeable uipanels – uses almost identical syntax to uipanel. (gui tools, example, gui)

image thumbnail

updated 9 years ago

GUI Examples using Nested Functions by Steven Lord

These two examples demonstrate how to use nested functions to reduce parameter passing in GUIs. (gui tools, example, red_blue)

red_blue

red_blue_two

Contact us