help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: calling c++ or c from octave?


From: Sergei Steshenko
Subject: Re: calling c++ or c from octave?
Date: Wed, 5 Nov 2008 06:59:47 -0800 (PST)



--- On Wed, 11/5/08, Carlo de Falco <address@hidden> wrote:

> From: Carlo de Falco <address@hidden>
> Subject: Re: calling c++ or c from octave?
> To: address@hidden
> Cc: address@hidden, "Francis Poulin" <address@hidden>
> Date: Wednesday, November 5, 2008, 6:39 AM
> On 04/nov/08, at 19:57, Sergei Steshenko wrote:
> 
> > You may start from here:
> http://wiki.octave.org/wiki.pl?CodaTutorial .
> > 
> > I am using a different approach - I am writing data in
> binary format from
> > "C" using "fwrite" and load the
> data into 'octave' using 'fopen',
> 'fread'
> > in 'octave'. Works like a charm.
> > 
> > Regards,
> >  Sergei.
> 
> if you only need to exchange data then "popen"
> and
> "fread" are probably an even better option
> c.

Well, in my case 'octave' does not call the "C" program and vice versa.
So, the "C" program dumps data into files and when I need to analyze them
by 'octave' I invoke it.

Regards,
  Sergei.


      


reply via email to

[Prev in Thread] Current Thread [Next in Thread]