🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.soft-sys.matlab
3 messages
3 total messages Started by Tero Siili Fri, 22 Jan 1993 16:33
List of filenames
#14
Author: Tero Siili
Date: Fri, 22 Jan 1993 16:33
8 lines
853 bytes
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.

Tero Siili
Finnish Meteorological Institute
Tero.Siili@fmi.fi
Re: List of filenames
#50
Author: ellert
Date: Mon, 25 Jan 1993 14:58
21 lines
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
Re: List of filenames
#88
Author: H. Sumargo
Date: Wed, 27 Jan 1993 14:43
25 lines
1883 bytes
In article <1k0v76INN1bm@usenet.INS.CWRU.Edu>, ellert@v32.uh.cwru.edu () writes:
|> 
|> 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

I am also interested in the above subject.  Please let me know if you could 
get the permission to post the code.  Thank you very much.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads