duration

Calculate the duration of a distributed job or individual task

You are now following this Submission

Takes a distributed job or task and computes the duration from create time to finish time. If the job or task has not finished, it calculates to the current time. For example:

time = duration(job);
duration(job.Task(1))
515 seconds

Although this was tested with R2008a and the MathWorks Job Manager, it ought to work with past releases and other schedulers.

Cite As

Raymond Norris (2026). duration (https://in.mathworks.com/matlabcentral/fileexchange/20613-duration), MATLAB Central File Exchange. Retrieved .

Categories

Find more on MATLAB Parallel Server in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0