MATLAB: Sscanf reader format problems

sscanf format

Dear all,
I have to read to sscanf the following string: 18-11-20 22:25:00.000 BRUX XXX 2 0 0 0 4027896.395
I tried with the format specifier %02i-%02i-%021 %02i:%02i:%02.3f %s %s %i %i %i %i %.3f, but only the first int till 25 are correctly read. After that no other data are read. Any suggestion?
Thanks

Best Answer

>> str = '18-11-20 22:25:00.000 BRUX XXX 2 0 0 0 4027896.395';
>> sscanf(str,'%f-%f-%f%f:%f:%f %*s %*s%f%f%f%f%f')
ans =
18.00000
11.00000
20.00000
22.00000
25.00000
0.00000
2.00000
0.00000
0.00000
0.00000
4027896.39500