VLFEATROOT​\toolbox\v​l_setup not found

Hello!
I just downloaded VLFeat binary and source packages from here : http://www.vlfeat.org/download/ and I am trying to install it on matab so first I wrote
>>tar 0920 vlfeat-0.9.20.tar.gz
then when I am writing :
>> VLFEATROOT = 'C:/Users/User/Desktop/vlfeat-0.9.20.tar/vlfeat-0.9.20';
>> run('VLFEATROOT/toolbox/vl_setup')
This error is shown :
Error using run (line 39)
VLFEATROOT\toolbox\vl_setup not found.
Please can you help me.. I tried a lot! :(

Answers (2)

chaitali laulkar
chaitali laulkar on 25 Jan 2016
Edited: Walter Roberson on 25 Jan 2016
Hello Angel,
follow given steps to use VLFEAT (These steps are for MATLAB).
  1. first extract vlfeat-0.9.20 in some folder
  2. In matlab first go to HOME->Environment->Set path->(Add the path of vlfeat-0.9.20 extracted folder) and save it.
  3. execute run('<Please include path of vlfeat-0.9.20 folder') in MATLAB command window e.g. run('D:\CAL\VLeaft\vlfeat-0.9.20\toolbox\vl_setup')
  4. Now u can run commands of VLFEAT library
Hope It will help you.
Thanking you,
Mrs. C.A.Laulkar

13 Comments

Hey Chaitali Laulkar, I can't really thank you enough. You're a life saver.
please clarify home where in matlab?
Invalid MEX-file 'D:\MATLAB\vlfeat-0.9.21\toolbox\mex\mexw64\vl_sift.mexw64': Missing
dependent shared libraries:
'VCOMP140.DLL' required by
'D:\MATLAB\vlfeat-0.9.21\toolbox\mex\mexw64\vl.dll->D:\MATLAB\vlfeat-0.9.21\toolbox\mex\mexw64\vl_sift.mexw64'.
I followed the above procedure given by Mrs. C.A.Laulkar. But i am getting this error. why.??
"Download the Visual C++ Redistributable for Visual Studio 2015 from https://www.microsoft.com/en-ca/download/details.aspx?id=48145. You are going to want to select both ‘vc_redist.x64.exe’ and ‘vc_redist.x86.exe’ files to download."
Thanks alot sir. It helped me. Past from many days i was trying to solve. Now i founded a solution from you sir. Thank you sir -> Walter Roberson.
Thank you very much for your shaing Walter Roberson. Your solution is perfect. Just download and install "vc_redist.x64.exe" to Windows 10.
i am getting error attempt to execute SCRIPT <functionname> as a function
Please include a complete copy of the error message, everything in red.
After performing all the steps mentioned above I am still not able to use vlfeat.
When I am executing
run('vl_setup')
nothing is prompting and when I am running
vl_version verbose
Invalid mex file'mycurrentpath\toolbox\mex\mex64\vl_version.mexw64':The specified module could not be found is prompting as error
@Md Arshad hello ,I have this problem too
Attempt to execute SCRIPT vl_gmm as a function:
C:\Users\Hp\Documents\MATLAB\Add-Ons\Collections\vlfeat_vlfeat\code\toolbox\gmm\vl_gmm.m
Error in genfeaMat_midlevel (line 109)
[means, covariances, priors] = vl_gmm(cluFeas, dicSize);
Error in main_tumorTypesAndDim (line 45)
X = genfeaMat_midlevel(params, 'fv');
You need to build the binaries.
I am not sure how to do that on Windows. On Mac, I cd to the vlfeat_vlfeat directory and command
!make

Sign in to comment.

Categories

Tags

Asked:

on 24 Oct 2015

Commented:

on 10 Dec 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!