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

clc, format, home

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS