[Scilab-users] Reading numerical and string vectors from txt-file

Jens Simon Strom j.s.strom at hslmg.de
Wed Mar 22 14:49:53 CET 2017


Thanks Jan Åge,

This is my further detailation of your approach:

M=csvRead('G:\Daten\ScilabFun\MICAfileForMFSCANFreading.txt',..
            "  ",[],"string",[],[],[],7);
            Year=strtod(M(1:4,1)')
            Month=M(1:4,2)'
            Day=strtod(M(1:4,3)')         
            BAThour  =  strtod(part(M(1:4,5)',  [1,2]  ))
            BATminute  =  strtod(part(M(1:4,5)',  [4,5]  ))

  Would you get toBAThour  andBATminute  the same way?

Kind regards
Jens
-----------------------------------------------------------------------------------------------------------------------

Am 22.03.2017 12:59, schrieb JLan:
> M=csvRead(filename," ",[],"string",[],[],[],7)
> Y=M(1:4,1)'
> etc.
>
>
>
> --
> View this message in context: http://mailinglists.scilab.org/Scilab-users-Reading-numerical-and-string-vectors-from-txt-file-tp4035926p4035928.html
> Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20170322/dbe721d8/attachment.htm>


More information about the users mailing list