Default Target Computers

When you start Simulink® Real-Time™ Target Computer Manager for the first time, it opens a default node, TargetPC1. You can configure this node for a target computer, then connect the node to the target computer.

You can add other target computer nodes and designate one of them as the default target computer instead of the first one. To set a target computer node as the default, select the node in the Target Computer manager and select the Default check box next to the target computer Name box. The default target computer node has a (default) label.

If you delete a default target computer node, the target computer node preceding it becomes the default target computer node. The last target computer node becomes the default target computer node and cannot be deleted.

If you want to use the Simulink Real-Time command-line interface to work with the target computer, you must indicate which target computer the command is interacting with. If you do not identify a particular target computer, the Simulink Real-Time software uses the default target computer.

TheSimulinkRealTime target computer environment, manages collective and individual target computer environments. See Command-Line Setup.

When you call SimulinkRealTime.getTargetSettings without arguments (for example, tg = SimulinkRealTime.getTargetSettings), the constructor gets the real-time environment settings for the default target computer.

When you call the slrt function without arguments, the constructor uses the link properties of the default target computer to communicate with the target computer.

tg = slrt; 
% create a target object tg for the default target computer TargetPC1