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.

Connect the Host Computer to an EV3 Brick Over a USB Cable

This example shows how to connect from MATLAB® software to an EV3 brick over a USB cable.

Required hardware: The USB cable supplied with the EV3 brick.

  1. Connect the USB ports on the host computer and the EV3 brick.

  2. In the Command Window, use the legoev3 function to connect from the MATLAB software to the EV3. Specify the connection type, USB.

    myev3 = legoev3('USB');