[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fscanf, sscanf not MATLAB compatible
From: |
Eyal Doron |
Subject: |
fscanf, sscanf not MATLAB compatible |
Date: |
Tue, 19 Sep 1995 11:27:45 +0100 (MET DST) |
Hi,
Just noticed that fscanf and sscanf are completely different from
the MATLAB commands of the same name:
Octave:
[A, B, C, ...] = fscanf (FILENAME or FILENUM, FORMAT)
Matlab 4.0:
[A,COUNT] = fscanf(FID,FORMAT,SIZE)
Additionally, the MATLAB version does not print errors or warnings if
not enough elements are read, it just sets COUNT to the number
successfully read. Much more useful, I think.
Eyal Doron
- fscanf, sscanf not MATLAB compatible,
Eyal Doron <=