Main Content

setDefaultTargetName

Set default target computer name

Since R2020b

Description

setDefaultTargetName(targets_object,target_name) sets the name for the default Speedgoat® target computer.

example

Examples

collapse all

Create Targets object my_tgs. Set default target computer name.

my_tgs = slrealtime.Targets();
setDefaultTargetName(my_tgs,'TargetPC1')

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