Main Content

removeTarget

Remove target computer definition from targets object

Since R2020b

Description

removeTarget(targets_object,target_name) removes the definition and settings for the Speedgoat® 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.

example

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

Version History

Introduced in R2020b