<< WRITEAU_f Sinks_pal Sources_pal >>

Scilab Help >> Xcos > palettes > Sinks_pal > WRITEC_f

WRITEC_f

Write to C binary file

Block Screenshot

Contents

Description

This block allows to user to write data in a C binary file with the name defined by the string Output File Name. The file is a sequence of records. Each record has the length fixed by the parameter Input Size and the structure shown below:

where the block inputs are numbered from top to bottom.

The record fields must contains data of the same type defined by the parameter Output Format.

Each event on the activation input of the bloc writes a record in the file.

Data types

Parameters

Default properties

Example

In this example the block is used to record the output of the sine wave generator. To record at the same time, the time events, we use a TIME_f block and a multiplexer to form the input vector of the WRITEC_f block which record the data in the file "TMPDIR/writec_f.data". Then you can read these data with the block READC_f.

Interfacing function

Computational function

See also


Report an issue
<< WRITEAU_f Sinks_pal Sources_pal >>