Hauptinhalt

startTime

R2026b

Start time of trajectory

Since R2026b

    Description

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

    t = startTime(traj) calculates the start time, in seconds, of the specified trajectory. The start time is the time of arrival for the first waypoint in the trajectory.

    Input Arguments

    collapse all

    Trajectory, specified as an airTrajectory or groundTrajectory object.

    Output Arguments

    collapse all

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

    Version History

    Introduced in R2026b