latency
R2026bSyntax
Description
determines the history of propagation delays from the delay = latency(source,target)source asset to
the target asset. The source and
target assets must belong to the same satelliteScenario object. If the value of
the AutoSimulate
property of the satelliteScenario object is
true, the latency function returns the propagation
delay history from the value of StartTime to
the value of StopTime.
Otherwise, the function returns the propagation delay history from StartTime to
SimulationTime.
[___] = latency(
determines latency at the specified datetime source,target,timeIn)timeIn. When using this
syntax, the latency function sets the second dimension of
delay and timeOut to
1.
Note
When the target asset is a Satellite
object, the latency function uses a numerical iterative solution to
compute the propagation delay. When the target asset is a GroundStation
object, the latency function applies Sagnac correction to compute
the propagation delay.
Note
When Moon is added to the satellite scenario, latency calculations account for Moon
line-of-sight obstruction. The function returns NaN when the Moon
obstructs the line of sight between the source and
target assets.

