Is it possible to force textscan to honour field width when handling apparently complex numbers -- as sscanf does?
>> sscanf('001i', '%3d%1c')
where 15 is double('i')
>> textscan('001i', '%3u%1c')
The only workaround I found is to import as text:
>> textscan('001i', '%3c%1c')
then calling str2double on the first string.
The character 'i' is not constant (it goes for 'a', 'b', etc.).
ADDENDUM: the single character at the end needs to be saved, it cannot be skipped or discarded as as literal.