Problem with function fscanfMat

CRETE Denis denis.crete at thalesgroup.com
Tue Jul 26 17:16:25 CEST 2011


Hello,
did you check that your data file does not mix TABs and SPACEs ?
HTH
Denis

De : BOUTARD david [mailto:david.boutard-alter at sodern.fr]
Envoyé : mardi 26 juillet 2011 17:03
À : users at lists.scilab.org
Objet : [scilab-Users] Problem with function fscanfMat

Hi,

I have a file *.txt (1014 lines and 1043 rows) to read.

My program is as follows:

FichTxt=uigetfile(["*.txt"],"","Fichier texte",%t);
temp1=fscanfMat(FichTxt(1));

It works very well with Scilab 5.2. I update Scilab to version 5.3 and use the same program. But It cannot read my files. It is written :

Error 999 - I connot read the files C:\....*.txt

Is there a problem of compatibility between both versions (32 bit or 64 bit for exemple)? I am working with windows XP professionnal.
If yes where I could change the parameters?

I have tried to use mopen and mfscanf but it is very long compare to mfscanfmat.. Or my program may not be written as it should.

Regards
David

______________________________________________________________________
This email has been scanned by the SODERN Email Security System.

______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20110726/3c3bc8bd/attachment.htm>


More information about the users mailing list