Problems running .exe from commant promt
조회 수: 5 (최근 30일)
이전 댓글 표시
Hello, I want to use to run an .exe file from a location, e.g. 'C:\work\programs\api_32bit\bin\x86\Debug\TestAPI32.exe' by using system commands below:
apiLocation = 'C:\work\programs\api_32bit\bin\x86\Debug\TestAPI32.exe';
system(apiLocation);
When I press enter I get the error message 'Index exceeds matrix dimensions'. Can anyone help me to solve this problem?
댓글 수: 1
per isakson
2016년 3월 11일
편집: per isakson
2016년 3월 11일
Run the commands
which system -all
whos system
What do they say?
답변 (1개)
Jan
2016년 3월 11일
As per isakson has posted already: "system" is a variable, which shadows the built-in command. Either avoid to define "system" as a variable, or clear it, or use:
builtin('system', apiLocation)
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!