Main Content

close

Close map viewer window

Description

example

close(viewer) closes the map viewer window and deletes the handle

Examples

collapse all

Launch two Site Viewer windows.

One Site Viewer window uses the terrain model.

viewer1 = siteviewer("Terrain","gmted2010","Name","Site Viewer (Using Terrain)");

The second Site Viewer window does not use the terrain model.

viewer2 = siteviewer("Terrain","none","Name","Site Viewer (No Terrain)");

Create a transmitter site.

tx = txsite;

Generate a coverage map on each window. The map with terrain uses the Longley-Rice propagation model by default.

coverage(tx,"Map",viewer1)

The map without terrain uses the free-space model by default.

coverage(tx,"Map",viewer2)

Close the maps.

close(viewer1)
close(viewer2)

Input Arguments

collapse all

Map viewer for visualizing transmitter or receiver sites, specified as a siteviewer object.[1]

Introduced in R2019a

[1] Alignment of boundaries and region labels are a presentation of the feature provided by the data vendors and do not imply endorsement by MathWorks®.