Navigation

Operators and Keywords

Function List:

C++ API

: source (file)
: source (file, context)

Parse and execute the contents of file.

Without specifying context, this is equivalent to executing commands from a script file, but without requiring the file to be named file.m or to be on the execution path.

Instead of the current context, the script may be executed in either the context of the function that called the present function ("caller"), or the top-level context ("base").

See also: run.

Package: octave