Article View: comp.soft-sys.matlab
Article #50Re: List of filenames
From: ellert
Date: Mon, 25 Jan 1993 14:58
Date: Mon, 25 Jan 1993 14:58
21 lines
1506 bytes
1506 bytes
In article <1993Jan22.163358.10283@nic.funet.fi>, Tero Siili <Tero.Siili@fmi.fi> writes: >Question: I have a text lines (all of the same length) in a text file. >How can I read those text lines into Matlab string variables? I tried >using load, but to no avail and I was unable to find other alternatives >based on the documentation. A long time ago I wrote a bunch of MEX functions which allow direct file manipulation based on the C routines fopen, etc. These routines have been used by our facility for close to 3 years and have been pretty well debugged by now. Your problem would be easily solved by using the mfgets call to read each line in your file. There is a catch; technically the routines belong to our facility and without permission I cannot post them. Supposedly matlab v4.0 has similar file manipulation capabilities. For these reasons I haven't bothered to get permission to post them, however, if there is sufficient interest I'll see what I can do. Ed Ellert ellert@nu1.uh.cwru.edu
Technical Details
Message-ID:
<1k0v76INN1bm@usenet.INS.CWRU.Edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!gatech!usenet.ins.cwru.edu!v32.uh.cwru.edu!ellertReferences:
<1993Jan22.163358.10283@nic.funet.fi>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!usenet.ins.cwru.edu!v32.uh.cwru.edu!ellert From: ellert@v32.uh.cwru.edu () Newsgroups: comp.soft-sys.matlab Subject: Re: List of filenames Date: 25 Jan 1993 14:58:46 GMT Organization: Image Analysis Center, Univ. Hospitals of Cleveland Lines: 21 Distribution: world Message-ID: <1k0v76INN1bm@usenet.INS.CWRU.Edu> References: <1993Jan22.163358.10283@nic.funet.fi> Reply-To: ellert@nu1.uh.cwru.edu NNTP-Posting-Host: max.uh.cwru.edu