Next: , Previous: , Up: Functions and Scripts   [Contents][Index]

11.12 Function Handles and Anonymous Functions

It can be very convenient store a function in a variable so that it can be passed to a different function. For example, a function that performs numerical minimization needs access to the function that should be minimized.