help-octave
[Top][All Lists]
Advanced

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

Re: "real" time inputs?


From: Doug Stewart
Subject: Re: "real" time inputs?
Date: Thu, 21 Jul 2011 11:05:09 -0400



2011/7/21 Lisa Thierbach <address@hidden>
Thanks so much for your help. My Arduino board is now happily sending data into Octave.

Lisa

On Jul 18, 2011, at 4:33 PM, Jordi Gutiérrez Hermoso <address@hidden> wrote:

> On 18 July 2011 12:44, Lisa Thierbach <address@hidden>
> wrote:
>> I'd like to read in data from the serial port (USB actually) on my
>> Mac. It is possible I could go through some other code that reads
>> the data and then passes it to Octave. But how do I pass data into
>> Octave from another source in real time?
>
> Depending exactly on how you read your data, one possibility is to use
> pipes:
>
>     http://www.gnu.org/software/octave/doc/interpreter/Controlling-Subprocesses.html#doc_002dpopen
>
> You can also use the sockets package, which can work with local
> sockets, not necessarily over a network:
>
>     http://octave.sourceforge.net/sockets/index.html
>
> Both of these mimic closely their standard Unix counterparts. You
> should consult documentation for pipes or sockets to understand more
> about how to use these.
>
> HTH,
> - Jordi G. H.
_______________________________________________
Help-octave mailing list
address@hidden
https://mailman.cae.wisc.edu/listinfo/help-octave

I was wondering how to do this--- So could you explain what you did?

Doug

reply via email to

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