MATLAB Answers

Why doesn't tcpclient find server for WiFi communication?

조회 수: 1(최근 30일)
Kaan Inal
Kaan Inal 2021년 5월 21일
답변: Tarunbir Gambhir 2021년 5월 27일
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.

답변(1개)

Tarunbir Gambhir
Tarunbir Gambhir 2021년 5월 27일
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.

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by