File Exchange

image thumbnail

MATLAB Support Package for LEGO MINDSTORMS EV3 Hardware

Acquire sensor data and control outputs on LEGO MINDSTORMS EV3



MATLAB® Support Package for LEGO® MINDSTORMS® EV3 Hardware enables you to use MATLAB to communicate with the LEGO MINDSTORMS EV3 over a USB cable, wireless network, or Bluetooth®. MATLAB functions are provided to control the motors and interface with other sensors and actuators on the robot.

This support package is functional for R2014b and beyond.

Comments and Ratings (9)

Hey guys.
Disable your antivirus if you're having trouble installing third party packages.


dgmcik (view profile)


Julian (view profile)

Does not connect consistently.

Mason Landry

I cannot install this support package. I had it installed on my previous computer running MatLab 2016 with no issues, but now I can't install it with 2017.

chris B

I doesn't work. The brick is connected with the computer. The low level matlab instruction works, but not this package.
deviceInfo = instrhwinfo('Bluetooth','EV3CB')

deviceInfo =

HardwareInfo with properties:

RemoteName: 'EV3CB'
RemoteID: 'btspp://0016534C257F'
ObjectConstructorName: {'Bluetooth('EV3CB', 1);'}
Channels: {'1'}

It doesn't work. Can't install the support package :(

min aung


Updated file for initial release.

MATLAB Release
MATLAB 8.4 (R2014b)

More Files in the  Maker Community

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video