Connect Host Computer to EV3 Brick over 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.
Connect the USB ports on the host computer and the EV3 brick.
In the Command Window, use the
legoev3function to connect from the MATLAB software to the EV3. Specify the connection type, USB.
myev3 = legoev3('USB');