Code covered by the BSD License  

Highlights from
Example: Using Nested Functions for Timers

4.33333

4.3 | 3 ratings Rate this file 35 Downloads (last 30 days) File Size: 1.18 KB File ID: #8452

Example: Using Nested Functions for Timers

by

 

08 Sep 2005 (Updated )

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.

Required Products MATLAB
MATLAB release MATLAB 7 (R14)
MATLAB Search Path
/
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
11 Mar 2013 Mate

I can't download this file. The page say:

The page you were looking for doesn't exist.

You may have mistyped the address or the page may have moved.

15 Nov 2007 Gunter Wahl

A bit more explanation of the way (repetitions?) to call the routine would be nice.

19 Oct 2006 master user  
29 Sep 2006 Bernhard Hampel-Vogedes  
Updates
06 Jan 2010

Updated copyright.

18 Jun 2014

Added comments.

27 Oct 2014

Made available for download as an easy-to-install Toolbox file.

Contact us