Example: Using Nested Functions for Timers
by Scott Hirsch
08 Sep 2005
(Updated 06 Jan 2010)
Example code from MATLAB News & Notes article on nested functions.
|
Watch this File
|
| File Information |
| Description |
This is a simple example of how nested functions can simplify the writing of callback functions for writing continuously-running applications. Callback functions are used by timer objects and the various objects in the Test & Measurement Toolboxes (Data Acquisition Toolbox, Instrument Control Toolbox, Image Acquisition Toolbox) to associate MATLAB code with events such as timers.
This example contains the code included in the October, 2005 MATLAB News & Notes tip on this topic. |
| MATLAB release |
MATLAB 7 (R14)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (3) |
| 29 Sep 2006 |
Bernhard Hampel-Vogedes
|
|
|
| 19 Oct 2006 |
master user
|
|
|
| 15 Nov 2007 |
Gunter Wahl
|
|
|
| Updates |
| 06 Jan 2010 |
Updated copyright. |
|
Contact us at files@mathworks.com