linkviewers
Description
linkviewers( links the camera properties
of all the viewers in vList)vList and initially synchronizes them to the
camera properties of the first viewer in vList. Once you link the
viewers, you can change the camera properties of all viewers synchronously by changing the
camera properties of any one viewer in the figure window. Note that
linkviewers does not synchronize camera properties if you change them
programmatically or by using the Property Inspector. For more information on camera
properties in a viewer, see Camera Controls.
linkviewers( removes the link
between the viewers in vList,"off")vList. Once you remove the link, changing the
properties of a viewer in vList no longer synchronizes those changes
across any other viewers. However, if a viewer in vList is linked to
any viewers not in vList, changing the properties of the linked viewers
not in vList synchronizes that change to the linked viewer in
vList.
For example, linkviewers([v1 v2 v3]) links viewers
v1, v2, and v3. If you remove the
link between viewers v1 and v2 using
linkviewers([v1 v2],"off"), changing the properties of
v1 does not synchronize those changes in v2 or
v3. Similarly, changing the properties of v2 does
not synchronize those changes in v1 or v3. However,
changing the properties of v3, synchronizes those changes in
v1 and v2.
Examples
Input Arguments
Version History
Introduced in R2026a