This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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