[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56869] matlab incompatibility - input format
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #56869] matlab incompatibility - input format specifiers %E and %G produce errors |
Date: |
Mon, 9 Sep 2019 18:32:28 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36 |
Follow-up Comment #3, bug #56869 (project octave):
> Is Matlab always ignoring case?
No, it is only supporting these specific uppercase format specifiers which are
valid _output_ specifiers, and also allowing them as input specifiers. Other
uppercase letters that are not valid output specifiers are not allowed.
These
y = sscanf ('10', '%C')
y = sscanf ('10', '%D')
y = sscanf ('10', '%F')
y = sscanf ('10', '%I')
y = sscanf ('10', '%O')
y = sscanf ('10', '%S')
y = sscanf ('10', '%P')
y = sscanf ('10', '%U')
all return an empty char array (not an error, like Octave does).
And '%L' is not a valid width modifier in Matlab sscanf, it is not a synonym
for lowercase '%l'.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56869>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/