> I don't know if this is possible with matlab, but you might be able to > do something like: > > % mkfifo /tmp/matlab_in > % matlab < /tmp/matlab_in Excellent suggestion - writing to the pipe via echo with the `-n' flag keeps matlab from exiting after each command. Thanks Allan! -don