Library Block liio_sfunouttstmp

Writes time stamped signal data to ".liio" file using buffered streaming. The block's sample time is always continuous. The input signal of the block is written to file with its original width and data type. Allowed input signal data types are floating types double and single (in C-terms: float) and the integer data types uint/int of 8, 16, 32, and 64 bits. The signal size might be a scalar or a column vector.

Block Mask

Description

The input signal of the block is written to the file assigned in the mask with its original width and data type. If the file path is relative, the relative path will be resolved to the base of the current directory at model initialisation time. The file must be writable or creatable with the current user's access privileges.

If the only-write-signal-on-change flag is set in the mask, a value will only be written on initialisation and where the signals value changes. Otherwise the signal will be written whenever the block is executed by simulation. When the simulation ends, the current simulation time is written to file as signal end time, regardless of any changes in the signal data. For vectors if at least one element changes, the whole vector is written to file along with a time stamp.

If the compression flag is set in the mask, the file output will contain compressed signal data.