Command-Line Target Computer Settings

To run a Simulink® Real-Time™ model on a target computer, you must configure the target settings to match the capabilities of the target computer.

Use the following procedure for target TargetPC1:

  1. Get the target object for this target computer and make it the default target. In the Command Window, type:

    tg = SimulinkRealTime.getTargetSettings('TargetPC1');

    You apply other settings to this object.

  2. Assign the following target computer settings as required:

    • Target scope display

      • tg.TargetScope='Enabled' (the default) — Use to display information, such as a target scope, in graphic format.

      • tg.TargetScope='Disabled' — Use to display information as text.

      To use the full features of a target scope, install a keyboard on the target computer.

    • USB support

      • tg.USBSupport='on' (the default) — Use to enable USB ports on the target computer; for example, to connect a USB keyboard.

      • tg.USBSupport='off' — Otherwise.

    • Target RAM size

      tg.TargetRAMSizeMB='Auto' (the default) — For more information, see your Speedgoat target computer documentation to determine the amount of memory installed in the target computer.

      The Target RAM size parameter defines the total amount of installed RAM in the target computer. This memory is the memory that is available for the kernel, real-time application, data logging, and other functions that use the heap.

      Target computer memory for the real-time application executable, the kernel, and other uses is limited to a maximum of 4 GB.

Repeat this procedure as required for each target computer.

The next task is Command-Line Target Computer Boot Methods.