Info

この質問は閉じられています。 編集または回答するには再度開いてください。

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

1 回表示 (過去 30 日間)
Gildardo Jimenez
Gildardo Jimenez 2014 年 11 月 29 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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

回答 (1 件)

Zack Bayhan
Zack Bayhan 2014 年 11 月 29 日
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!

Translated by