Advance tracking scenario simulation by one time step
isrunning = advance(sc)
advances the tracking scenario simulation,
isrunning = advance(
sc, by one time
step. To specify the step time, set the UpdateRate property of the
trackingScenario object. The function returns the status,
isrunning, of the simulation.
advance updates a platform location only if the platform has an
assigned path. You can generate assigned paths using the
property of a platform. To update platforms that have no assigned paths, you can set
properties at any time during the simulation.
sc— Tracking scenario
Tracking scenario, specified as a
isrunning— Run-state of simulation
The run-state of the simulation, returned as
1, the simulation is running. If
0, the simulation
has stopped. A simulation stops when either of these conditions is met:
The stop time is reached.
Any platform reaches the end of its trajectory, and you have
specified the platform
using waypoints (with a
Units are in seconds.