Display motion of radars and targets
The phased.ScenarioViewer
System object™ creates a 3-D viewer to display the motion of radars and targets that you model
in your radar simulation. You can display current positions and velocities, object tracks,
position and speed annotations, radar beam directions, and other object parameters. You can
change radar features such as beam range and beam width during the simulation. You can use the
phased.Platform
System object to model moving objects or you can supply your own dynamic models.
This figure shows a four-object scenario consisting of a ground radar, two airplanes, and a ground vehicle. You can view the code that generated this figure in the Visualize Multiplatform Scenario example.
To create a scenario viewer:
Define and set up the phased.ScenarioViewer
System object. See Construction. You can set System object properties at construction time or leave them to their default values.
Some properties that you set at construction time can be changed later. These properties
are tunable.
Call the step
method to update radar and target
displayed positions according to the properties of the phased.ScenarioViewer
System object. You can change tunable properties at any time.
Note
Starting in R2016b, instead of using the step
method
to perform the operation defined by the System object, you can call the object with arguments, as if it were a function. For
example, y = step(obj,x)
and y = obj(x)
perform
equivalent operations.
creates a scenario
viewer System object, sIS
= phased.ScenarioViewersIS
having default property values.
returns
a scenario viewer System object, sIS
= phased.ScenarioViewer(Name,Value)sIS
, with any specified property Name
set to a specified Value
. Name
must appear inside single
quotes (''
). You can specify several name-value pair arguments in any order
as Name1,Value1,...,NameN,ValueN
.
hide | Hide scenario viewer window |
reset | Reset state of the System object |
show | Show scenario viewer window |
step | Update scenario viewer display |
Common to All System Objects | |
---|---|
release | Allow System object property value changes |