Matlab error: “filpath” is not recognized as an internal or external command, operable program or batch file

15 vues (au cours des 30 derniers jours)
i am using sift library in my image processing project on matlab R2013a in 32 bit windows 7, i am setting file path as sift_path = fullfile('lib','sift','bin','siftfeat'); and it gives an error as 'lib\sift\bin\siftfeat' is not recognized as an internal or external command, operable program or batch file.
  5 commentaires
Stephen23
Stephen23 le 20 Avr 2017
@Nimit Kaura: you have been asked to provide the full error message in your question. Please provide the full error message in the question. This means all of the red text.
Jan
Jan le 20 Avr 2017
@Nimit Kaura: Do you see that the code is not readable? Please use the "{} Code" button. It would be easier, if you post the relevant part of the code only.

Connectez-vous pour commenter.

Réponse acceptée

Jan
Jan le 20 Avr 2017
The error message is clear: 'lib\sift\bin\siftfeat' is not recognized as an external function. Most likely this file is not existing at all, because the path is relative. Check this:
sift_bin = fullfile('lib','sift','bin','siftfeat');
test = fullfile(cd, sift_bin);
exist(test, 'file')
Perhaps you want to use an absolute path. Where do you expect the executable "siftfeat.exe" to be?
While the OP worked under Windows, the attached comments from Nimit Kaura do not mention the used operating system.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by