Main Content


Interface for managing target computers

Since R2022b


    A linux.Targets object represents the available target computers and provides access to methods to add targets, remove targets, rename targets and to create target object for a particular target computer.


    tgs=linux.Targets() creates a targets object representing target computers.

    Object Functions

    addTargetAdd target computer to target computers object
    getAllTargetsGet list of available target computers
    getTargetGet handle of target computer
    removeTargetDelete target computer
    renameTargetRename target computer


    collapse all

    Create a targets object tgs representing the target computer.

    Use the following command to create the targets object

    tgs = linux.Targets();

    Version History

    Introduced in R2022b