Skip navigation links

Package eu.simuline.octave.exec

Classes related with executing octave.

See: Description

Package eu.simuline.octave.exec Description

Classes related with executing octave. The central class is OctaveExec executing octave. Class OctaveExecuteReader reads the output of the octave process, with end of stream given by a "spacer".

The basic interfaces are ReadFunctor and WriteFunctor reading from a reader and writing to a writer, respectively. The sole implementations in this package are ReaderWriteFunctor which is a WriteFunctor writing to a writer what is read from a wrapped reader and WriterReadFunctor which is a ReadFunctor reading from a reader and writing to a wrapped writer.

Note that eu.simuline.octave.io.DataReadFunctor is the other implementation of ReadFunctor and eu.simuline.octave.io.DataWriteFunctor is the other implementation of WriteFunctor the two reading and writing octave objects.

The classes OctaveWriterCallable and OctaveReaderCallable are required in OctaveExec.evalRW(WriteFunctor, ReadFunctor) only. The first one writes a command to octave, whereas the second one reads the result back.

Skip navigation links

Copyright © 2006–2018 Simuline Organization (l2r). All rights reserved.