Package jline.io
Class LINE2MATLAB
java.lang.Object
jline.io.LINE2MATLAB
Writes the MATLAB script of a model, dispatching on its type.
Port of matlab/src/io/LINE2MATLAB.m: a Network goes to QN2MATLAB and a
LayeredNetwork to LQN2MATLAB, in both cases under the model's own name.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringReturns the generated script.static voidWrites the generated script to standard output.static voidwrite(Object model, PrintStream out) Writes the generated script to a stream, which is flushed but not closed.static voidWrites the generated script tofilename, overwriting it.
-
Method Details
-
write
Writes the generated script to standard output. -
write
Writes the generated script to a stream, which is flushed but not closed. -
write
Writes the generated script tofilename, overwriting it. -
generate
Returns the generated script.
-