主要内容

stopTime

R2026b

Stop time of trajectory

Since R2026b

    Description

    Add-On Required: This feature requires the 3D Scenarios add-on.

    t = stopTime(traj) calculates the stop time, in seconds, of the specified trajectory. The stop time is the time of arrival for the last waypoint in the trajectory.

    Input Arguments

    collapse all

    Trajectory, specified as an airTrajectory or groundTrajectory object.

    Output Arguments

    collapse all

    Stop time, in seconds, returned as a numeric scalar of type double.

    Version History

    Introduced in R2026b