how can I run an exe file in Matlab with output and input path

0

I have a exe file named as DenseTrackStab.exe, when I click on it, it displays an error as "the application was unable to start correctly (0xc000007b).".

But I have a piece of matlab code which used this exe file, so that this exe file's input is a video and it's output is a .bin. The code used following cmd line to run exe file :

[status,cmdout] = system(sprintf('%s %s -o %s','DenseTrackStab',videofile,outfile));

where the video file and outfile are as following

videofile=D:\brush_hair\April_09_brush_hair_u_nm_np1_ba_goo_0.avi
outfile=C:\brush_hair\April_09_brush_hair_u_nm_np1_ba_goo_0.bin

after running i have:

status=-1.0737e+09
cmdout=''

what is wrong? anybody can help me?

matlab
exe
asked on Stack Overflow Oct 12, 2017 by S.R.L • edited Oct 13, 2017 by S.R.L

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0