help-octave
[Top][All Lists]
Advanced

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

Unidentified subject!


From: sini youcef
Subject: Unidentified subject!
Date: Wed, 20 Jan 1999 14:37:55 +0100

I am using octave and I am quitre disapointed that fscanf
can not behave like matlab's fscanf in the case of reading short ints

In effect the behaviour for the following instructions :
fid = fopen('num.txt','r');
f = fscnf(fid,'%hi');

does not lead to read short ints if num.txt is :
0x8888
0x1234

We should get 
f = [
-30584
4660
]

and not

f = [
34952
4660
]

Best Regards



reply via email to

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