Unable to connect to EV3 via WiFi

8 views (last 30 days)
Krish Pillai
Krish Pillai on 7 Oct 2017
Answered: Suze Zhang on 9 Oct 2017
I am running firmware version 1.09E on my EV3 and I can ping it from my laptop and from Matlab using !ping. But Simulink won't connect to it. Please help!
Output below:
>> !ping
PING ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=64 time=3.32 ms
64 bytes from icmp_seq=2 ttl=64 time=2.89 ms
64 bytes from icmp_seq=3 ttl=64 time=2.89 ms
--- ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 2.891/3.035/3.320/0.201 ms
Operation terminated by user during unix (line 32)
>> myev3 = legoev3('wifi','','00165351fa52')
Error using legoev3 (line 287)
Failed to connect to ''. Please check your network settings.
  1 Comment
Walter Roberson
Walter Roberson on 7 Oct 2017
Edited: Walter Roberson on 7 Oct 2017
Is it possible that the ev3's ID is something different? Is it possible that the connection is not wifi ? After you do the ping, what shows up if you then
!arp -a
in particular does 00:16:53:51:fa:52 show up and if so against which interface name?

Sign in to comment.

Answers (1)

Suze Zhang
Suze Zhang on 9 Oct 2017
Hi Krish,
In the firmware version V1.09, the SSH and telnet are blocked by Lego. The interface Simulink uses to connect to the brick relies on these two types of connections. A workaround is to use an older firmware version, for example, V1.03.
For more information, please refer to the link below to a MATLAB Answers post:


Find more on LEGO MINDSTORMS EV3 Hardware in Help Center and File Exchange



Community Treasure Hunt

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

Start Hunting!