Main Content


Total elapsed duration of control path

Since R2021b


totalTime = pathDuration(pathObj) returns the total elapsed duration of the control path.

Input Arguments

collapse all

Control path, specified as a navPathControl object.

Data Types: double

Output Arguments

collapse all

Total duration of the control path, returned as a positive scalar in seconds.

Data Types: double

Version History

Introduced in R2021b