home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / softsys / matlab / 188 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.8 KB  |  38 lines

  1. Newsgroups: comp.soft-sys.matlab
  2. 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
  3. From: sumargoh@widget.fiu.edu (H. Sumargo)
  4. Subject: Re: List of filenames
  5. Reply-To: sumargoh@fiu.edu
  6. Organization: FIU, Electrical & Computer Engineering Dept.
  7. Date: Wed, 27 Jan 1993 14:43:26 GMT
  8. Message-ID: <C1IowF.9K4@fiu.edu>
  9. References: <1993Jan22.163358.10283@nic.funet.fi> <1k0v76INN1bm@usenet.INS.CWRU.Edu>
  10. Sender: sumargoh@widget (H. Sumargo)
  11. Lines: 25
  12.  
  13. In article <1k0v76INN1bm@usenet.INS.CWRU.Edu>, ellert@v32.uh.cwru.edu () writes:
  14. |> 
  15. |> In article <1993Jan22.163358.10283@nic.funet.fi>, Tero Siili <Tero.Siili@fmi.fi> writes:
  16. |> >Question: I have a text lines (all of the same length) in a text file.  
  17. |> >How can I read those text lines into Matlab string variables?  I tried
  18. |> >using load, but to no avail and I was unable to find other alternatives 
  19. |> >based on the documentation.
  20. |> 
  21. |> A long time ago I wrote a bunch of MEX functions which allow direct file
  22. |> manipulation based on the C routines fopen, etc.  These routines have been
  23. |> used by our facility for close to 3 years and have been pretty well debugged
  24. |> by now.  Your problem would be easily solved by using the mfgets call to
  25. |> read each line in your file.
  26. |> 
  27. |> There is a catch; technically the routines belong to our facility and without
  28. |> permission I cannot post them.  Supposedly matlab v4.0 has similar file
  29. |> manipulation capabilities.  For these reasons I haven't bothered to get
  30. |> permission to post them, however, if there is sufficient interest I'll see
  31. |> what I can do.
  32. |> 
  33. |> Ed Ellert
  34. |> ellert@nu1.uh.cwru.edu
  35.  
  36. I am also interested in the above subject.  Please let me know if you could 
  37. get the permission to post the code.  Thank you very much.
  38.