home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / softsys / matlab / 176 < prev    next >
Encoding:
Internet Message Format  |  1993-01-27  |  1.6 KB

  1. Path: sparky!uunet!newsstand.cit.cornell.edu!ziklag.ee.cornell.edu!rz10
  2. From: Ray Zimmerman <rz10@cornell.edu>
  3. Newsgroups: comp.soft-sys.matlab
  4. Subject: Re: scanf() function in matlab ?
  5. Date: 26 Jan 1993 14:48:24 GMT
  6. Organization: Electrical Engineering, Cornell University
  7. Lines: 21
  8. Sender: rz10@cornell.edu (Verified)
  9. Distribution: world
  10. Message-ID: <1k3ivoINNhem@newsstand.cit.cornell.edu>
  11. References: <1993Jan25.232041.10233@cbnewsl.cb.att.com>
  12. NNTP-Posting-Host: ziklag.ee.cornell.edu
  13. X-UserAgent: Nuntius v1.1.1d17
  14. X-XXMessage-ID: <A78ABA9B9502E0B5@ziklag.ee.cornell.edu>
  15. X-XXDate: Tue, 26 Jan 93 14:53:31 GMT
  16.  
  17. In article <1993Jan25.232041.10233@cbnewsl.cb.att.com>
  18. nallepilli.s.ramesh, ramesh@cbnewsl.cb.att.com writes:
  19. >Hi! I have the student edition of Matlab, and have a rather simple
  20. question!
  21. >Is there an equivalent to the C function 'scanf()' in Matlab.  I would
  22. like
  23. >to sequentially read an ASCII file, process it, and ship out using
  24. printf().
  25.  
  26. Sorry, not in the current student version.  Matlab 4.0 has "fscanf" and
  27. "sscanf".  And a few days ago I thought I saw a post of someone saying
  28. they'd written some MEX files for 3.5 to do this.  I don't remember if
  29. Student Matlab does MEX files.
  30.  
  31. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  32.  Ray Zimmerman           \ 397 Theory Center, Electrical Engineering
  33.                           \ Cornell University, Ithaca NY  14853
  34.  Ray-Zimmerman@cornell.edu \ Phone: 607-254-8819  Fax: 607-255-9072
  35. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  36.         "The number you have dialed is imaginary.
  37.                     Rotate phone 90 degrees and try again."
  38.