Main Content

getDefaultTargetName

Get default target computer name

Description

example

getDefaultTargetName(targets_object,target_name) gets the name of the default target computer.

Examples

collapse all

Create Targets object my_tgs. Get default target computer name.

my_tgs = slrealtime.Targets();
getDefaultTargetName(my_tgs)
ans =

    '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

Introduced in R2020b