1
WRITEC_f Scilab Group Scicos Block WRITEC_f
3
WRITEC_f - Scicos "write to C binary file" block
6
Input size : a scalar, the size of the input
8
Output file name : a character string defining the path of the file
10
Output Format : a character string defining the format to use
12
"l","s","ul","us","d","f","c","uc"
13
: for reading respectively long, ashort, unsigned
14
long, unsigned short, double, float,
15
char and unsigned char. If required by
16
the swap mode, the bytes which are read
17
are automatically swapped if necessary
18
(by checking little-endian status) in
19
order to produce machine independent
20
binary files ( in little-endian mode).
22
"ull","uls","ubl","ubs",
23
: can be used for reading respectively unsigned
24
little-endian long or short and unsigned
25
big-endian long or short.
28
: with x=b or x=l can be used for reading double,
29
float, long or short as big or little
32
Buffer size : To improve efficiency it is possible to buffer the
33
input data. read on the file is only done after each
34
Buffer size call to the block.
36
Swap mode : With Swap mode=1 the file is supposed to be coded
37
in "little endian IEEE format" and data are swaped if
38
necessary to match the IEEE format of the processor.
39
If Swap mode=0 then automatic bytes swap is
43
This block allows user to write datas in a C binary file.