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

12 Ansichten (letzte 30 Tage)
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 Kommentare
Stephen23
Stephen23 am 20 Apr. 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 am 20 Apr. 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.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Jan
Jan am 20 Apr. 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.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by