Name

emptystr — zero length string

Calling Sequence

s=emptystr()
s=emptystr(a)
s=emptystr(m,n)

Parameters

a

Any type of matrix

s

A matrix of character strings

m,n

Integers

Description

Returns a matrix of zero length character strings

With no input argument returns a zero length character string.

With a matrix for input argument returns a zero length character strings matrix of the same size.

With two integer arguments returns a mxn zero length character strings matrix

Examples

 
x=emptystr();for k=1:10, x=x+','+string(k);end
 

See Also

part , length , string