From the series: Managing Code in MATLAB
Doug Hull, MathWorks
(Originally posted on Doug's MATLAB Video Tutorials blog.)
Understanding what a script is in MATLAB is the fundamental skill needed to understand functions, subfunctions, etc..This video will show how and why you write script files in MATLAB.
Recorded: 13 Jun 2011
Functions of One Input and One Output This video will make a function of one input and one output that we will modify through much of the rest of the tree.
Functions of Multiple Inputs and Outputs This video will modify the function to accept more inputs and give more outputs.
Functions of Variable Numbers of Inputs and Outputs This video will allow you to do input parsing so that you have the ability to overload functions, meaning allow them to react differently to different inputs.
Cell Mode Scripts Cell mode scripts are a way to make something like a "MATLAB workbook". They can be used to make easily published documents and allow you to break your scripts into smaller chunks that can be run individually.
Cell Mode Publishing This MATLAB tutorial will show you how to make simple automatic reports in MATLAB with cell mode. It is a way of getting MATLAB worksheets or MATLAB workbooks.
Cell Mode Interactive This MATLAB tutorial video shows you how to tune parameters interactively in a MATLAB "workbook" or "worksheet".
Driver Scripts This video shows you how to make a driver script in MATLAB. These are well suited for when you need to test a function in MATLAB and want to do it easily, setting up inputs and the rest of the environment.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .Select web site
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.