Programming |
Overview of MATLAB Function Types |
An introduction to the basic types of functions available with MATLAB |
Anonymous Functions |
Functions defined from a MATLAB expression and without requiring an M-file |
Primary M-File Functions |
The first, and often the main, function in an M-file |
Nested Functions |
Functions defined within the body of another function |
Subfunctions |
Any functions that follow the primary function in an M-file |
Private Functions |
Functions with restricted access, callable only from an M-file function in the parent directory |
Overloaded Functions |
Functions with multiple implementations that respond to different types of inputs accordingly |
Running External Programs | Overview of MATLAB Function Types |
© 1994-2005 The MathWorks, Inc.