Products & Services Solutions Academia Support User Community Company

Learn more about Parallel Computing Toolbox   

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

size

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS