Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

blanks

Create character array of blanks

Syntax

blanks(n)

Description

blanks(n) returns an array of n space characters.

Examples

blanks is useful with the display function. For example,

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

displays twenty spaces between the character arrays 'xxx' and 'yyy'.

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

See Also

| |

Introduced before R2006a

Was this topic helpful?