[Scilab-users] fscanfMat limitations/failure function

Paul Carrico paul.carrico at free.fr
Tue Nov 20 22:00:06 CET 2012


You can use csvRead (Atoms package) in order to read huge ascii files 
 it’s
a more powerfull and a faster alternative to fscanMat 


 

Paul

 

De : users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org]
De la part de Gautier, Alexis
Envoyé : mardi 20 novembre 2012 21:21
À : users at lists.scilab.org
Objet : [Scilab-users] fscanfMat limitations/failure function

 

Hello,

 

I need to post treat data from a data logger (temperatures, strains, etc).

Raw data are in a txt file with numbers and Tabulation column separator.

File size can goes up to 100 Mb (> 400.000 lines)

I use “fscanfMat“ function to read the raw data file before post treatment
and most of time Scilab display this:
D=fscanfMat(F1);
                !--error 999 
fscanfMat: Memory allocation error.
at line       8 of exec file called by :
 
 
But sometimes (after several Scilab close/opening), complete program is OK
and post treatment is performed.
I use also stacksize('max’)
 
è What are the Scilab limitations about txt file reading?
è Could it be possible to increase this capacity

 

Thanks in advance for your feedback.

 

Best regards,

Alexis Gautier

Architecture System & Components

Mechatronics Development PhD Engineer

Inergy Automotive Systems 

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


More information about the users mailing list