You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 .
General Information
- Version 1.0.0.0 (2.02 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
