help-octave
[Top][All Lists]
Advanced

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

%x not working in textscan


From: dev1990
Subject: %x not working in textscan
Date: Sun, 19 Apr 2020 11:07:07 -0500 (CDT)

Hello all,

 i am running Octave 5.2 in Windows 10. I have found that %x as a conversion
specifier has not yet been implemented. Check textscan help also.  Below are
my snippet :


>> fid=fopen('sample.txt');
>> A=textscan(fid,'%x');
error: textscan: '%x' is not a valid format specifier
>> A=textscan(fid,'%s');
>> A
A =
{
  [1,1] =
  {
    [1,1] = 0x004de2ea
    [2,1] = 0x006df1f4
  }

}

>> fclose(fid)
ans = 0




--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html



reply via email to

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