Main Content

hide

Hide satellite scenario entity from viewer

Since R2021a

    Description

    hide(item) hides the specified satellite scenario entity from all open instances of the Satellite Scenario Viewer.

    hide(item,viewer) hides the specified satellite scenario entity on the Satellite Scenario Viewer specified by viewer.

    example

    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 by using the Satellite Scenario Viewer.

    viewer = satelliteScenarioViewer(sc);

    Hide the satellite from the viewer.

    hide(sat,viewer);

    Input Arguments

    collapse all

    The item, specified as a Satellite, Platform, GroundStation, ConicalSensors, GroundTrack, Link, FieldOfView, or Accessobject. These objects must belong to the same satelliteScenario object.

    Satellite Scenario Viewer, specified as a scalar satelliteScenarioViewer object or a vector or array of satelliteScenarioViewer objects.

    Version History

    Introduced in R2021a