Main Content


Set camera target for satellite scenario viewer


camtarget(viewer,target) focuses the camera on the input satellite or ground station. The camera follows the object and can be unlocked by calling camtarget on another satellite or ground station or by double-clicking anywhere in the map.

Input Arguments

collapse all

Satellite scenario viewer, specified as a satelliteScenarioViewer object. viewer must be specified as a scalar satelliteScenarioViewer object.[1]

Target of the camera, specified as a scalar Satellite or GroundStation object.

Introduced in R2021a

[1] Alignment of boundaries and region labels are a presentation of the feature provided by the data vendors and do not imply endorsement by MathWorks®.