advance
Advance tracking scenario simulation by one time step
Syntax
Description
advances simulation of the tracking scenario, isrunning
= advance(sc
)sc
, and returns
the running status of the scenario. Set up the advance behavior using the UpdateRate and InitialAdvance properties of the trackingScenario
object.
When the
UpdateRate
property is specified as a positive scalar F, the scenario advances in the time step of 1/F. Moreover, if theInitialAdvance
property is specified as'Zero'
, the scenario starts at time0
. If theInitialAdvance
property is specified as'UpdateInterval'
, then the scenario starts at time 1/F.When the
UpdateRate
property is specified as0
, the scenario advances based on the necessity of updating sensors or emitters mounting on the platforms in the scenario. In this case, the initial time is always time0
. Also, you need to trigger the running of the sensors or emitters by using at least one of these options betweenadvance
calls:Directly running the sensors or emitters
Using the
emit
,detect
, orlidarDetect
function of the tracking scenario to run sensors or emitters in the scenarioUsing the
emit
,detect
, orlidarDetect
function of the platform with a corresponding sensors or emitters
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2018b