Products & Services Solutions Academia Support User Community Company

Learn more about Parallel Computing Toolbox   

labindex - Index of this lab

Syntax

id = labindex

Description

id = labindex returns the index of the lab currently executing the function. labindex is assigned to each lab when a job begins execution, and applies only for the duration of that job. The value of labindex spans from 1 to n, where n is the number of labs running the current job, defined by numlabs.

See Also

numlabs

  


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