removeCustomTerrain

Remove custom terrain data

Description

example

removeCustomTerrain(name) removes the custom terrain data specified by the user-defined name. You can use this function to remove terrain data that is no longer needed. The terrain data to be removed must have been previously added using addCustomTerrain.

Examples

collapse all

Add a custom terrain using n44_w072_3arc_v1.dt1 DTED file.

addCustomTerrain('mydted5','n44_w072_3arc_v1.dt1')

Use the custom terrain name in Site Viewer.

viewer = siteviewer('Terrain','mydted5');

Create a site with the terrain region.

mtwash = txsite('Name','Mt Washington', ...
'Latitude',44.2706, ...
'Longitude',-71.3033, ...
'AntennaHeight', 30);
show(mtwash)

Create a coverage map.

coverage(mtwash)

Remove the custom terrain.

close(viewer)
removeCustomTerrain("mydted5")

Input Arguments

collapse all

User-defined identifier for terrain data previously added using addCustomTerrain, specified as a string scalar or a character vector.

Data Types: char | string

Introduced in R2019a