Documentation

blanks

Create string of blank characters

Syntax

blanks(n)

Description

blanks(n) is a string of n blanks.

Examples

blanks is useful with the display function. For example,

disp(['xxx' blanks(20) 'yyy'])

displays twenty blanks between the strings 'xxx' and 'yyy'.

disp(blanks(n)') moves the cursor down n lines.

See Also

| |

Introduced before R2006a

Was this topic helpful?