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