Be the first to rate this file! 19 downloads (last 30 days) File Size: 9.96 MB File ID: #18123

Video Tutorial: MATLAB Basics: Nested functions

by Doug Hull

 

26 Dec 2007 (Updated 26 Dec 2007)

Code covered by BSD License  

Four and a half minute video discusses scoping of variables in nested subfunctions

Download Now | Watch this File

File Information
Description

This four and a half minute video shows you how variables come in and out of scope, that is in and out of memory, when using nested subfunctions. This can help so that you can pass many variables without explicitly listing them. This would be a good solution for people that are using many globals and would rather avoid them.
                    
See more videos without downloading here:
http://blogs.mathworks.com/pick/category/video

MATLAB release MATLAB 7.5 (R2007b)
Zip File Content  
HTML Files Video from http://blogs.mathworks.com/pick
Other Files
61 Basics Nested functions.css,
61 Basics Nested functions.flv,
mCode/demoNested.m,
61 Basics Nested functions.js,
61 Basics Nested functions_config.xml,
61 Basics Nested functions_controller.swf,
61 Basics Nested functions_iPod.m4v,
61 Basics Nested functions_nofp_bg.gif,
61 Basics Nested functions_preload.swf,
Additional-embed.js,
ProductionInfo.xml,
swfobject.js,
images/bottom_center.jpg,
images/bottom_center_left.jpg,
images/bottom_left.jpg,
images/bottom_right.jpg,
images/vid_bkgd.gif,
images/dl_bkgd.gif,
images/dl_icon.gif,
images/dl_icon_bkgd.gif,
images/dl_icon_bkgd_over.gif,
images/dl_row_bkgd.gif,
images/play_bttn_bkgd.gif,
images/play_icon.gif,
images/spacer.gif,
images/top_center.gif,
images/top_center.jpg,
images/top_center_clr.gif,
images/top_left_corner.jpg,
images/top_right_corner.jpg,
images/curain_bkgd.gif
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
video Doug Hull 22 Oct 2008 09:40:27
tutorial Doug Hull 22 Oct 2008 09:40:27
nested Doug Hull 22 Oct 2008 09:40:27
subfunction Doug Hull 22 Oct 2008 09:40:27
function Doug Hull 22 Oct 2008 09:40:27
global Doug Hull 22 Oct 2008 09:40:27
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com