at symbol, @
Create anonymous functions and function handles, call superclass methods
Syntax
Description
The at symbol (@
) creates handles to anonymous and named
functions, and is also used to call superclass methods from within a subclass. For
instance, f = @(x,y) x+y
creates an anonymous function that accepts two
inputs and adds them together.
Examples
Version History
Introduced before R2006a