how can I implement exe file?

I have an exe file and I want to execute it with system function I use the below code:
system(['E:/libsvm-3.11/windows/svm-scale -r Range_Watermarking feature_Test.txt > feature_Test.scale'])
but it cannot execute svm-scale and it say cannot open Range_Watermarking but this file is in the same folder. can you guide me? thanks in advance.

3 comentarios

Jorge Mario Guerra González
Jorge Mario Guerra González el 26 de En. de 2017
does it run from the regular command prompt? also there is one o this things ">" unmatched perhaps thats a syntax mistake (Although I dont know the syntax of your program)
Walter Roberson
Walter Roberson el 26 de En. de 2017
The > is fine, that is output redirection to a file
Steven Lord
Steven Lord el 26 de En. de 2017
What is the EXACT error message you receive when you run that command? Don't paraphrase, copy and paste.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre MATLAB Coder en Centro de ayuda y File Exchange.

Preguntada:

el 26 de En. de 2017

Comentada:

el 26 de En. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by