Filter löschen
Filter löschen

Calling another program

7 Ansichten (letzte 30 Tage)
Aakash
Aakash am 1 Nov. 2011
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..

Antworten (2)

Bjorn Gustavsson
Bjorn Gustavsson am 1 Nov. 2011
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

Jonas Reber
Jonas Reber am 1 Nov. 2011
you might be looking for
system('command')
[status, result] = system('command')
[status,result] = system('command','-echo')

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by