Main Content

External Mode

Communication interface

Select the transport layer that the External mode uses to exchange data between the host computer and the target hardware.

Settings

Default:Serial

Set host COM port

To download the executable on the hardware board, specify a COM port. You can specify whether MATLAB® detects the COM port automatically or sets the COM port to that you specify.

Default: Automatically

Automatically

For setting the COM port automatically, in the Set host COM port parameter, select Automatically option.

Manually

For setting the COM port manually, in the Set host COM port parameter, select Manually option.

If you select the Manually option for Set host COM port parameter, specify the corresponding COM port in the COMPort parameter.

  1. To find the COM port on your Windows® computer, select Start > Control Panel > Device Manager > Ports (COM & LPT).

  2. To find the COM port on your Mac computer, open a terminal window and enter the following command:

    ls /dev/cu.usb*.

    This command lists the path and file name of the USB device that is connected to the VEX® hardware.

    For example: /dev/cu.usbmodem1410

Note

The COMPort parameter appears when you select Manually option in the Set host COM port parameter.

COMPort

Specify the COM port used by the target hardware. This parameter appears when you select Manually option in the Set host COM port parameter.

Settings

Default:1

Verbose

Select this check box to view the external mode execution progress and updates in the Diagnostic Viewer or in the MATLAB Command Window.

Settings

Default: on

See Also