What you are probably looking for are Dynamically related functions .
Octave has the ability to include compiled code as dynamically and then use these extensions as if they were part of Octave itself. Octave can call C ++ code through its own oct file file interface or C code through its mex interface. It can also indirectly call functions written in any other language through a simple shell. Reasons for writing code in a compiled language can be either a link to an existing code fragment and its use inside Octave or to improve performance for key code fragments.
For the opposite, see here .
source
share