help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to know number of lines from input file


From: febty febriani
Subject: how to know number of lines from input file
Date: Wed, 7 Oct 2009 11:56:32 +0900

Dear all,

If I have command like below :

fh=fopen("$dir/data-1day-1Hz/result-${year}${month}${num}.dat","r");
y=fscanf(fh,"%lf");

are there any tricks to know number of lines from the input file?
any helps are appreciated.
thanks very much.


best regards,
febty

--

******
febty febriani
Indonesian Institute of Sciences
Research Center for Physics
Kompleks PUSPIPTEK
Serpong, Indonesia, 15314

reply via email to

[Prev in Thread] Current Thread [Next in Thread]