Problem running Windows executable using "system"

I have an executable (PROG.exe) that runs perfectly within a cmd-shell in windows 7. However, when I call it from within matlab (R2013a), using the command "system('PROG.exe')", windows throws an error saying that " PROG.exe has stopped working ". System then returns the code 255
All path settings are correct. Any suggestions?

Antworten (0)

Diese Frage ist geschlossen.

Tags

Gefragt:

am 20 Mai 2015

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by