Print the time history of model variables to the output window or a file

Syntax


print @file=’<file name>’ <model output 1> <model output 2> … output 1> <model output 2> …

Description


The PRINT command works similarly to the output command in that it displays the value of one or more model variables at each point in simulated time.  However, while the OUTPUT command displays value during the course of a simulation run, the PRINT command displays all the time histories recorded during the last simulation run.  In addition, the PRINT command arranges the outputs in a columnar format.

Example


prepare t x y z

print @file=’results.csv’ t x y z