Main Content

addTarget

Add target computer definition to targets object

Since R2020b

Description

example

addTarget(targets_object,target_name) adds the definition for a target computer, represented by the name target_name. Do not add or remove the default target computer name TargetPC1.

Examples

collapse all

Add target computer definition 'TargetPC2' to Targets object my_tgs.

my_tgs = slrealtime.Targets();
addTarget(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