strings

Create string array without characters.

Syntax

  • C = strings()
  • C = strings(m)
  • C = strings(m, n)
  • C = strings(m, n, ... , p)
  • C = strings(sz)

Input argument

  • m, n, ... , p - dimensions of the string array to create.
  • sz - a vector of integer values (dimensions of the cell to create).

Output argument

  • C - a string array

Description

strings returns a cell array of empty matrices.

Example

A = eye(2, 4);
sz = size(A)
C = strings(sz)

See also

cell, isstring.

History

VersionDescription
1.0.0initial version

Author

Allan CORNET