Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this 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?