Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

length

Length of object array

Syntax

length(obj)

Arguments

obj

An object or an array of objects.

Description

length(obj) returns the length of obj. It is equivalent to the command max(size(obj)).

Examples

Examine how many tasks are in the job j1.

length(j1.Tasks)
ans =
     9

See Also

Was this topic helpful?