MATLAB 帮助中心
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.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处