help-octave
[Top][All Lists]
Advanced

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

Re: fifo


From: Mike Miller
Subject: Re: fifo
Date: Fri, 7 Jun 2013 15:58:19 -0400

On Fri, Jun 7, 2013 at 00:29:06 -0700, MrOba wrote:
> ok.. now I need to read something from the fifo..
> Once I opened it from octave (fopen) another process write a matrix on it..
> Now I have to tell octave the data is ready and it represent a matrix.
> the load command is not working with a non regular file.. what I should use
> then?

As I answered previously, you'll want to read through the C-style I/O
section of the manual. Specifically you might want to use fread,
fgetl, or fgets, combined with strsplit and str2double or sscanf to
parse lines of text into an Octave matrix.

HTH,

-- 
mike


reply via email to

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