Main Content

hide

Hides satellite scenario entity from viewer

    Description

    hide(item) hides item from all open satellite scenario viewers.

    example

    hide(item,v) hides the specified satellite scenario entity on the satellite scenario viewer specified by v.

    Examples

    collapse all

    Create a satellite scenario object.

    sc = satelliteScenario;

    Add a satellite to the scenario.

    semiMajorAxis = 10000000;                           % meters
    eccentricity = 0;
    inclination = 0;                                    % degrees
    rightAscensionOfAscendingNode = 0;                  % degrees
    argumentOfPeriapsis = 0;                            % degrees
    trueAnomaly = 0;                                    % degrees
    sat = satellite(sc,semiMajorAxis,eccentricity, ...
          inclination,rightAscensionOfAscendingNode, ...
          argumentOfPeriapsis,trueAnomaly);

    Visualize the satellite using the Satellite Scenario Viewer.

    viewer = satelliteScenarioViewer(sc);

    Hide the satellite from the viewer.

    hide(sat,viewer);

    Input Arguments

    collapse all

    Satellite, GroundStation, ConicalSensors, GroundTrack, FieldOfView, or Access object. These objects must belong to the same satelliteScenario, object.

    Satellite scenario viewer, specified as a scalar, vector, or array of satelliteScenarioViewer objects.

    Version History

    Introduced in R2021a