Jun 28, 2013

The OutputStream in Mathematica

See this link .

Format:

$stream = OpenWrite["file.ext"]

Export[ $stream, expr, "format"]

Close[$stream]



vs. Export[$file.ext", expr, "format"]



$stream can be used to export multiple expressions and to append to exist files.

$stream = OpenAppend["file.ext"]


No comments:

Post a Comment