Filter löschen
Filter löschen

"." it is not recognized as an internal or external command, program or batch file executable.

5 Ansichten (letzte 30 Tage)
Hello everybody,
I am trying to execute the demo_ASIFT.cpp in Matlab using the system command.
The command that I introude is:
system(./demo_ASIFT tmpASIFTinput1.png tmpASIFTinput2.png imgOutVert.png imgOutHori.png matchings.txt keys1.txt keys2.txt 0)
The Matlab return is:
"." it is not recognized as an internal or external command,
program or batch file executable.
I have done this:
System configuration->System->Extended configuration->Environment variables, add the path to demo_ASIFT to the PATH variable in both (System and user).
Despite this process, I get the same problem. The path that I have added is to the folder where demo_ASIFT.cpp is stored.
Any idea to solve this problem?
Thanks in advance,
Javi

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 29 Okt. 2017
system('demo_ASIFT.exe tmpASIFTinput1.png tmpASIFTinput2.png imgOutVert.png imgOutHori.png matchings.txt keys1.txt keys2.txt 0')
Note that it would have been necessary to compile demo_ASIFT.cpp to demo_ASIFT.exe, possibly by using mex
  1 Kommentar
Javier Naranjo
Javier Naranjo am 29 Okt. 2017
Bearbeitet: Walter Roberson am 29 Okt. 2017
Thanks, you are right. I was proving the ASIFT code http://www.ipol.im/pub/art/2011/my-asift/ and I donwloaded the source code zip, not the executable one.
Thanks for your help,
Javi

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu App Building finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by