Create character array of blanks
Create an array of five blanks. To display it, embed it in a character array that starts and ends with a visible character.
b = blanks(5); chr = ['|' b '|']
chr = '| |'
Embed the blanks in a string and display the string. Starting in R2017a, you can create strings using double quotes.
str = "Due Date:" + b + "2017-01-13"
str = "Due Date: 2017-01-13"
n— Number of space characters
Number of space characters, specified as an integer.
0 character array.
n is less than
blanks treats it as