Why doesn't tcpclient find server for WiFi communication?

2 views (last 30 days)
Hello,
i am trying to set up a WiFi connection between Matlab and an ESP8266.
I set up the ESP8266 as server acting as a Access Point. I can connect my PC via WLAN with the ESP8266.
Also i can ping the ESP8266 IP4-Adresse and get an answer.
The Problem is that somehow that Matlab cant establish a connection to the ESP8266.
I used the function tcpclient(IP,PORT). Error: a communication link with the remote server cannot created.
Maybe i miss some additional settings and maybe someone can help me with my problem.
Thank you.

Answers (1)

Tarunbir Gambhir
Tarunbir Gambhir on 27 May 2021
You can communicate with ESP8266 on MATLAB through ThingSpeak for an IOT project. You can find more details on these projects here.
You can also use ESP8266 module to talk to arduino on MATLAB by following these steps.

Products

Community Treasure Hunt

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

Start Hunting!