Functions and Scripts Next: Previous: Statements Up: Top



Functions and Script Files

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.