\n is a newline character.
For the rest, you're looking at Matab's version of printf format strings. With slight variations these are used in dozens of languages. Count, x, and f are inserted at the %
1i
is a integer with 1 digit, 12.8f
is a floating point number with 12 characters, 8 after the decimal.