

xcos - rfile_f - input format
Hello,
i have to generate a simulation who read textfiles with integer and double types.
My question is: How can i read an file with integer content with the rifle_f block. Wich format have to be used.
In the example is only a format. It looks (3(e10.3,3x)), but its only for exponential.
My textfile looks like:
0
1
2
5
5
5
5
5
5
...
The only way for me to read it, is to modify my file like this
0.0+E01
0.0E+01
0.1E+01
0.2E+01
0.5E+01
0.5E+01
0.5E+01
0.5E+01
0.5E+01
0.5E+01
...
In this case i use the format (3(e10.3,3x)) which is in the example an documentation of scilab given
Can anyone help?
Best regards
Scilab


Although not completely correct, try (1((e1.0,2x))) format. See http://www.chem.ox.ac.uk/fortran/format.html to understand what it is.
Login to add comment