MATLAB Help Center
Delete satellite scenario entity from viewer
Since R2026b
delete(item)
delete(item) deletes the satellite scenario entity specified by item from the Satellite Scenario Viewer.
item
example
collapse all
Create a satellite scenario object.
sc = satelliteScenario;
Add a satellite to the scenario using Keplerian elements.
semiMajorAxis = 10000000; % meters eccentricity = 0; inclination = 0; % degrees rightAscensionOfAscendingNode = 0; % degrees argumentOfPeriapsis = 0; % degrees trueAnomaly = 0; % degrees sat1 = satellite(sc,semiMajorAxis,eccentricity, ... inclination,rightAscensionOfAscendingNode, ... argumentOfPeriapsis,trueAnomaly,Name="Satellite 1");
Visualize the scenario by using the Satellite Scenario Viewer.
viewer = satelliteScenarioViewer(sc); [startLat,startLon,startAlt] = campos(viewer); pause(2)
Delete the first satellite from the scenario.
delete(sat1);
Visualize the updated scenario. The first satellite is no longer present.
campos(viewer);
Satellite
GroundStation
ConicalSensor
GroundTrack
FieldOfView
Access
The item, specified as a Satellite, GroundStation, ConicalSensor, GroundTrack, FieldOfView, or Access object. These objects must belong to the same satelliteScenario object.
satelliteScenario
Introduced in R2026b
satelliteScenarioViewer
hide
show
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
Europe
Asia Pacific
Contact your local office