Main Content


Remove custom terrain data

Since R2019b



removeCustomTerrain(terrainName) removes the custom terrain data specified by the user-defined terrainName. 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.


collapse all

Add terrain for a region around Boulder, CO. The DTED file was downloaded from the "SRTM Void Filled" data set available from the U.S. Geological Survey.

dtedfile = "n39_w106_3arc_v2.dt1";
attribution = "SRTM 3 arc-second resolution. Data available " + ...
   "from the U.S. Geological Survey.";

Use the custom terrain name in Site Viewer.

viewer = siteviewer("Terrain","southboulder");

Create a site with the terrain region.

mtzion = txsite("Name","Mount Zion", ...
   "Latitude",39.74356, ...
   "Longitude",-105.24193, ...
   "AntennaHeight", 30);

Create a coverage map of the area within 20 km of the transmitter site.

coverage(mtzion, ...
   "MaxRange",20000, ...

Remove the custom terrain.


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

Version History

Introduced in R2019b