Main Content
length
Length of largest array dimension
Syntax
Description
Examples
Input Arguments
Tips
To find the number of characters in a string or character vector, use the
strlength
function.length
does not operate on tables. To examine the dimensions of a table, use theheight
,width
, orsize
functions.
Extended Capabilities
Version History
Introduced before R2006a