| MATLAB® | ![]() |
| 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 |
![]() | Function Arguments | Overview of MATLAB® Function Types | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |