home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.soft-sys.matlab
- Path: sparky!uunet!news.univie.ac.at!scsing.switch.ch!univ-lyon1.fr!ghost.dsi.unimi.it!rpi!uwm.edu!spool.mu.edu!darwin.sura.net!max.fiu.edu!widget!sumargoh
- From: sumargoh@widget.fiu.edu (H. Sumargo)
- Subject: Re: List of filenames
- Reply-To: sumargoh@fiu.edu
- Organization: FIU, Electrical & Computer Engineering Dept.
- Date: Wed, 27 Jan 1993 14:43:26 GMT
- Message-ID: <C1IowF.9K4@fiu.edu>
- References: <1993Jan22.163358.10283@nic.funet.fi> <1k0v76INN1bm@usenet.INS.CWRU.Edu>
- Sender: sumargoh@widget (H. Sumargo)
- Lines: 25
-
- 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.
-