This page shows how to compile VLFeat MEX files for usage in GNU Octave (tested on version 3.6.4).

Make sure that the image toolbox is installed in Octave. This can be obtained, for example, by using the pkg builtin Octave command:

>> pkg install image

Unpack VLFeat and use the Makefile to compile the MEX files. To instruct the Makefile to target Octave as well, specify the path to the mkoctfile command. For example, if mkoctfile is in your current path and VLFeat is unpacked in VLFEATROOT, the following should work:

> cd VLFEATROOT
> MKOCTFILE=mkoctfile make

After the MEX files are successfully compiled (look for them into toolbox/mex/octave/), you can start using VLFeat in Octave in the same way as MATLAB. Do not forget to use the vl_setup command to initalize the paths: