The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: matlab bash pipes
Replies: 12   Last Post: Oct 25, 2007 7:46 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
David B. Chorlian

Posts: 173
Registered: 12/7/04
Re: matlab bash pipes
Posted: Oct 24, 2007 12:44 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

In <ffnhsk$n2l$> "Steven Lord" <> writes:

>"Michael Wild" <> wrote in message

>> Claus wrote:


>> problem is, matlab does not care from where it has been started. also it
>> has no option to tell it to read from stdin. (hear that at TMW? that
>> would be a VERY nice feature...).

>I'm curious ... do you have a specific use case in mind where you'd probably
>use that feature if it existed?

Yes. We run a lot of scripts which invoke Matlab to process individual
files as part of a process which involves other programs. This makes
it unfeasible in general to write a Matlab script which loops over
files. The consequence is that there are many separate Matlab processes
created. If Matlab could read from a named pipe (fifo), as was suggested
by someone posting here a while ago, then only one Matlab process would need
to be created, and the appropriate commands could then be piped into the
fifo. At the present the commands are writen into files and then processed
by separate Matlab processes.


>Steve Lord

David B. Chorlian
Neurodynamics Lab SUNY/HSCB

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.