|
From: | Quentin Spencer |
Subject: | Re: sscanf in Octave. |
Date: | Tue, 17 Oct 2006 14:24:36 -0500 |
User-agent: | Thunderbird 1.5.0.7 (X11/20060913) |
JohnDaVinci wrote:
I'm trying to port a MATLAB script to an Octave script. Supposedly this isan 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 whateverreason. 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?
You need to tell us which version of octave you're using, and what is in the variable "cheese". I tried this on 2.9.9 with just some random string data and it seemed to work.
Quentin
[Prev in Thread] | Current Thread | [Next in Thread] |