Re: [Scilab-users] parsing TSV (or CSV) file with scilab is a nightmare

2020-04-27 Thread Antoine Monmayrant
e :* users [users-boun...@lists.scilab.org] de la part de Antoine Monmayrant [antoine.monmayr...@laas.fr] *Envoyé :* lundi 27 avril 2020 17:40 *À :* Users mailing list for Scilab *Objet :* [Scilab-users] parsing TSV (or CSV) file with scilab is a nightmare Hi all, This is both a rant and des

Re: [Scilab-users] parsing TSV (or CSV) file with scilab is a nightmare

2020-04-27 Thread Jan Åge Langeland
Antoine To find out how long the file is (although not strictly necessary) I normally use: fid = mopen(datafile,'rb'); mseek(0,fid,'end'); lef=mtell(fid) mseek(0,fid); Then you can read in the whole file byte by byte (or split it up if it is big) : data=mgeti(lef,'c',fid); The rest is

Re: [Scilab-users] parsing TSV (or CSV) file with scilab is a nightmare

2020-04-27 Thread CHEZE David 227480
mailing list for Scilab Objet : [Scilab-users] parsing TSV (or CSV) file with scilab is a nightmare Hi all, This is both a rant and desperate cry for help. I'm trying to parse some TSV data (tab separated data file) with scilab and I cannot find a way to navigate around the minefield of bugs

[Scilab-users] parsing TSV (or CSV) file with scilab is a nightmare

2020-04-27 Thread Antoine Monmayrant
Hi all, This is both a rant and desperate cry for help. I'm trying to parse some TSV data (tab separated data file) with scilab and I cannot find a way to navigate around the minefield of bugs present in meof/mgetl/mgetstr/csvRead. A bit of context: I need to load into scilab data generated