In this video I show how to generate an Oct-file, which is a compiled C++ code file that can be called from within Octave. In certain situations, for example when nested for-loops are necessary, this code can run many times faster than normal interpreted Octave code. This video is an introduction to Oct-files with an example.