duration
Version 1.0.0.0 (2.02 KB) by
Raymond Norris
Calculate the duration of a distributed job or individual task
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 (2025). duration (https://www.mathworks.com/matlabcentral/fileexchange/20613-duration), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2008a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on MATLAB Parallel Server in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |