[scilab-Users] Reading data files
Frederic Jourdin
frederic.jourdin at shom.fr
Tue Apr 19 08:14:03 CEST 2011
Hi,
I usually do this, for 6 lines:
[ kfd, ier]= file( 'open', 'file.txt', 'old');
aHeader= read( kfd, 6, 1, '(a)');
...
Fred
Armando Pisani wrote:
> Dear Sir,
> I use scilab to perform numerical anlysis. I usually produce data files with an header that describes the content of the file, so that the first line of the file is a list of characters, while the rest of the file is a numerical matrix.
> If I ask scilab to read my files I get an error message. Is there a way to ask scilab to skip one or more lines when reading a file?
>
> Thank you very much, yours Armando Pisani.
More information about the users
mailing list