help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sscanf in Octave.


From: JohnDaVinci
Subject: sscanf in Octave.
Date: Tue, 17 Oct 2006 11:11:35 -0700 (PDT)

I'm trying to port a MATLAB script to an Octave script.  Supposedly this is
an easy process, but I'm getting an error on one line of the MATLAB script. 
The function also exists in Octave, but it does not work for whatever
reason.

Here is the line:

[data, count] = sscanf(cheese, '%3s_%d_%d-%d-%d', Inf)


The error I get is "wrong type argument: file".

How can augment this line to make it work, and what am I currently doing
wrong?
-- 
View this message in context: 
http://www.nabble.com/sscanf-in-Octave.-tf2461253.html#a6860865
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]