[Scilab-users] read format

Serge Steer Serge.Steer at inria.fr
Tue Oct 13 17:08:54 CEST 2015


It is possible to achieve what you want using the following instruction.
It is a little tricky, may be a C format expert can do it in a more
simple way.
u=mopen("....",'r')
x=mfscanf(-1,u,"%*s %*2s%*[:]%*2s%*[:]%*2s%*[;]%g%*s");
mclose(u)

Serge Steer
Le 13/10/2015 16:19, sgougeon at free.fr a écrit :
> Hello,
>
> ----- Mail original -----
>> De: "CHEZE David 227480" <david.cheze at cea.fr>
>>
>> .../... Would you need to get the timestamps data, you may call csvRead with "string" conversion and process the first column of the matrix of string to retrieve numeric value fields. 
> For this part, using mfscanf() as suggested by Serge will be more straightforward, instead of csvRead().
>
> Samuel
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>




More information about the users mailing list