[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Launch/run other (terminal) programs from Octave on Linux
From: |
Jaroslav Hajek |
Subject: |
Re: Launch/run other (terminal) programs from Octave on Linux |
Date: |
Wed, 22 Jul 2009 13:29:19 +0200 |
On Wed, Jul 22, 2009 at 1:16 PM, kleibo<address@hidden> wrote:
>
> Hi,
> is it possible to use the normal octave-prompt in the shell also to directly
> control further programs? In particular I am interested in running a C
> program which controls a USB card. Any ideas how I can integrate that?
> Thanks
For controlling porgrams via I/O see (in ascending order of
complicatedness/power): system, popen2, pipe+fork+exec.
Or you can write a C++ extension.
--
RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz