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
UpdateRateproperty is specified as a positive scalar F, the scenario advances in the time step of 1/F. Moreover, if theInitialAdvanceproperty is specified as'Zero', the scenario starts at time0. If theInitialAdvanceproperty is specified as'UpdateInterval', then the scenario starts at time 1/F.When the
UpdateRateproperty 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 betweenadvancecalls:Directly running the sensors or emitters
Using the
emit,detect, orlidarDetectfunction of the tracking scenario to run sensors or emitters in the scenarioUsing the
emit,detect, orlidarDetectfunction of the platform with a corresponding sensors or emitters
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2018b