Documentation

SimulinkRealTime.targetSettings.setAsDefaultTarget

Set specific target computer as default target computer

Syntax

setAsDefaultTarget(settings_object)

Description

example

setAsDefaultTarget(settings_object) marks the target computer represented by the target settings object as the default target computer.

Examples

collapse all

Get the target settings object for target computer 'TargetPC1' and make that target computer the default target computer.

settings_object = SimulinkRealTime.getTargetSettings('TargetPC1');
setAsDefaultTarget(settings_object)

Input Arguments

collapse all

Object containing target computer environment settings.

Data Types: struct

Introduced in R2014a

Was this topic helpful?