Why doesn't tcpclient find server for WiFi communication?

2 ビュー (過去 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.

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by