Main Content

removeTarget

Remove target computer definition from targets object

Description

example

removeTarget(targets_object,target_name) removes the definition and settings for the target computer represented by target_name from the target_object. The target objects associated with that target_name become invalid. Do not add or remove the default target computer name TargetPC1.

Examples

collapse all

Remove target computer definition 'TargetPC2' from Targets object my_tgs.

removeTarget(my_tgs,'TargetPC2')

Input Arguments

collapse all

Provides access to methods that manipulate the target computers and their target settings.

Example: tgs

Data Types: struct

Example: 'TargetPC1'

Data Types: char | string

Introduced in R2020b