advance
Description
advances the simulation of the radar scenario isRunning
= advance(scenario
)scenario
by one time
step, and returns the running status of the scenario. Set up the advance behavior using the
UpdateRate and
InitialAdvance
properties of the radarScenario
object.
When the
UpdateRate
property is a positive scalar F, the simulation advances in the time step of 1/F. Moreover, if theInitialAdvance
property is'Zero'
, then the simulation starts at time0
. If theInitialAdvance
property is specified as'UpdateInterval'
, then the simulation starts at time 1/F.When the
UpdateRate
property is0
, the simulation advances to the next scheduled sampling time of any mounted sensors or emitters. For example, if a scenario has two sensors with update rates of 2 Hz and 5 Hz, then the first seven simulation updates are at 0, 0.2, 0.4, 0.5, 0.6, 0.8 and 1.0 seconds, respectively.In this case, the initial time is always time
0
. Also, you must trigger the running of the sensors or emitters by using at least one of these options between calls to theadvance
function:
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2021a
See Also
radarScenario
| restart
| record
| detect
| waypointTrajectory
| kinematicTrajectory