Documentation

SimulinkRealTime.addTarget

Add target computer interface

Syntax

settings_object = SimulinkRealTime.addTarget(target_name)

Description

example

settings_object = SimulinkRealTime.addTarget(target_name) adds the definition for a new target computer, represented by the name target_name. It returns an object containing the settings for the target computer.

Examples

collapse all

Create a settings object representing target computer 'TargetPC2'.

settings_object = SimulinkRealTime.addTarget('TargetPC2')
Simulink Real-Time Target Settings

    Name                     : TargetPC2     

    TargetRAMSizeMB          : Auto      
    LegacyMultiCoreConfig    : on       
    USBSupport               : on       
    ShowHardware             : off       
    EthernetIndex            : 0             

    TcpIpTargetAddress       :                  
    TcpIpTargetPort          : 22222           
    TcpIpSubNetMask          : 255.255.255.0   
    TcpIpGateway             : 255.255.255.255 
    TcpIpTargetDriver        : Auto         
    TcpIpTargetBusType       : PCI          

    TargetScope              : Enabled    

    TargetBoot               : BootFloppy    
    BootFloppyLocation       :           

Input Arguments

collapse all

Example: 'TargetPC1'

Data Types: char

Output Arguments

collapse all

Object containing target computer environment settings.

Data Types: struct

Introduced in R2014a

Was this topic helpful?