Simulink で Lego Mindstrorm EV3 ロボットを接続するときに "failed to connect error" が出るのはなぜですか?

Lego Mindstorms EV3 robot に Simulink モデルをダウンロードする際に、下記のエラーが発生します。
The call to realtime_make_rtw_hook, during the after_make hook generated the following error:
Failed to connect to EV3 (192.168.179.21). Please check your network settings.
The build process will terminate as a result.
Caused by:
Failed to connect to EV3 (XXX.XXX.XXX.XX). Please check your network settings.
Component: Simulink | Category: Model error
XXX.XXX.XXX.XX は EV3 の IP アドレスです。 ファームウェアは V1.09H です。

 Accepted Answer

ファームウェアが 1.09 の場合、SSH と TELNET がLEGO がブロックしています。
Simulink のインターフェースでは、これらの2つの接続を使って接続しますが、上記理由で接続できない状況になっています。
ブリックに接続するためには、古いバージョンのファームウェアを使用します。1.03 であえれば、下記URLからダウンロードできます。
1.06, 1.07, 1.08 のバージョンも Simulink Support Package for LEGO MINDSTORMS EV3 で特にエラーなく使用できるようですが、Support Package では 1.03 のバージョンのみテストを行っております。

More Answers (0)

Categories

Products

Release

No release entered yet.

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!