[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Read/Write files with a variable name..
From: |
Minkyung Kersti Son |
Subject: |
Read/Write files with a variable name.. |
Date: |
Thu, 29 Sep 2011 18:16:01 -0700 (PDT) |
Hi~!
I've been tried to read/write files with a variable name on Octave.
I have 288 binary files: 'true.001', 'true.002', ..., and 'true.288'.
I want to read/open these files and save new files made from these files.
By my Fortran code, examples..
do ifiles= 1 , nfiles ! nfiles=288
write(ifiles3,'(i3.3)') ifile ! format for 001, 002, ..., 288
!
open(10,file='true.'//ifiles3,....)
<read>
<filtering>
close(10)
!
open(20,file='filtered.'//ifiles3,....)
<save 'filtered .true.???' files>
close(20)
end do
But, I can't write above procedure with Octave because I'm a beginner with
Octave.
Thanks for reading my question.
--
View this message in context:
http://octave.1599824.n4.nabble.com/Read-Write-files-with-a-variable-name-tp3858301p3858301.html
Sent from the Octave - General mailing list archive at Nabble.com.
- Read/Write files with a variable name..,
Minkyung Kersti Son <=