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?

Answers (0)

This question is closed.

Tags

Asked:

on 20 May 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!