Calling another program
조회 수: 8 (최근 30일)
이전 댓글 표시
Can anyone tell me whether I can call another program and extract data from another program while running MATLAB? Your answer will be appreciated!!
I using MATLAB for image processing. I need to pass a command to different program for getting an image data..
댓글 수: 0
답변 (2개)
Bjorn Gustavsson
2011년 11월 1일
You could start with the "system" command:
[status,result] = system('program arguments');
If you need more complex interaction you could take a look on pipes and other solutions, see for example this thread: http://www.mathworks.co.uk/matlabcentral/answers/12913-can-i-give-matlab-commands-in-series-from-the-os-command-prompt
댓글 수: 0
Jonas Reber
2011년 11월 1일
you might be looking for
system('command')
[status, result] = system('command')
[status,result] = system('command','-echo')
댓글 수: 0
참고 항목
카테고리
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!