Info

This question is closed. Reopen it to edit or answer.

I try to run the example ev3_communication for Lego Mindstorms EV3 via USB but I can not communicate with the brick

2 views (last 30 days)
I try to run the example "ev3_communication"(LEGO MINDSTORMS EV3 Programming Using Simulink) for Lego Mindstorms EV3 using Simulink Matlab R2014b. I already download the Simulink Support Package for LEGO MINDSTORMS EV3 Hardware.
When I type:
b = Brick('ioType', 'usb')
I get the following error:
Undefined function 'Brick' for input arguments of type 'char'.
Can you guys help me out to understand what I am missing here ? I would appreciate is somebody can walk me through. Any idea is welcome or if you have a link or tutorial. I would appreciate that very much

Answers (1)

Zack Bayhan
Zack Bayhan on 29 Nov 2014
I was having the same trouble with my arduino, I re-installed from withing matlab using the addon button and was then able to create the objective (b=brick(...)). So try this if you have not already
addons
get hardware support package
install from internet
lego mindstorm ev3
next
Hopefully that will workout for you if not let us know what it says.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!