This is an old version of the Octave manual. Find the latest version at: https://docs.octave.org/latest.

Next: , Previous: , Up: Top   [Contents][Index]


11 Functions and Scripts

Complicated Octave programs can often be simplified by defining functions. Functions can be defined directly on the command line during interactive Octave sessions, or in external files, and can be called just like built-in functions.