These instructions explain how to setup VLFeat in MATLAB (at least 2009B) using the binary distribution (it is also possible to compile the library and toolbox from source, including running on earlier MATLAB versions by disabling some features such as OpenMP support).
Download and unpack the latest
VLFeat binary distribution in a directory of your choice
this directory. VLFeat must be added to MATLAB search path by running
vl_setup command found in
VLFEATROOT/toolbox directory. From MATLAB prompt
>> run('VLFEATROOT/toolbox/vl_setup') VLFeat 0.9.17 ready.
To check that VLFeat is sucessfully installed, try to run
>> vl_version verbose VLFeat version 0.9.17 Static config: X64, little_endian, GNU C 40201 LP64, POSIX_threads, SSE2, OpenMP 4 CPU(s): GenuineIntel MMX SSE SSE2 SSE3 SSE41 SSE42 OpenMP: max threads: 4 (library: 4) Debug: yes SIMD enabled: yes
To permanently add VLFeat to your MATLAB environment, add this line
When you restart MATLAB, you should see the VLFeat greeting message.
All commands embed interface documentation that can be viewed with
VLFeat bundles a large number of demos. To use them, add the demo
vl_setup demo. For example, a sift demo
vl_demo_sift_basic can be run using the following:
>> vl_setup demo >> vl_demo_sift_basic
To see a list of demos TAB-complete
vl_demo at MATLAB
prompt, after running