From help-octave-request at bevo dot che dot wisc dot edu Wed Jan 20 07:55:50 1999 Subject: Unidentified subject! From: youcef dot sini at dev-lme dot pcc dot philips dot com (sini youcef) To: help-octave at bevo dot che dot wisc dot edu 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