Owning Class: support
Requires: MathScript RT Module
n = length(a)
Computes the length of a numeric object or string. The length of a matrix is the number of rows or columns in the matrix, depending on which is larger. The length of a string is the number of characters in the string.
|a||Specifies a scalar, vector, or matrix of any data type.|
|n||Returns the length of a. n is a scalar.|
The following table lists the support characteristics of this function.
|Supported in the LabVIEW Run-Time Engine||Yes|
|Supported on RT targets||Yes|
|Suitable for bounded execution times on RT||Yes|
VECTOR = [0, 3, -4.5, 2, 4, 7]
MATRIX = rand(4, 5)
aString = 'abcdef'