필터 지우기
필터 지우기

udp communication with esp8266 module and plotting its graph on realtime.

조회 수: 1 (최근 30일)
sajad mulk
sajad mulk 2017년 2월 27일
답변: Hossam Gld 2018년 12월 21일
%Creating UDP object
UDPComIn=udp('192.168.4.3','LocalPort',8822);
set(UDPComIn,'DatagramTerminateMode','on');
%Opening UDP communication
fopen(UDPComIn);
%Reading data
while 1
data=fscanf(UDPComIn);
%disp(data)
end
%Closing UDP communication
fclose(UDPComIn);
%Deleting UDP communication
delete(UDPComIn)
%CodeEnd
  댓글 수: 1
Subin Kuttappan Stellal Mary
Subin Kuttappan Stellal Mary 2017년 3월 5일
1. Can you please elaborate the use-case?
2. Are you sending UDP data from ESP8266 Wi-Fi chip and trying to receive it in MATLAB?
3. Is the code working, or are you getting any errors?

댓글을 달려면 로그인하십시오.

답변 (1개)

Hossam Gld
Hossam Gld 2018년 12월 21일
hello, would you give us some explanation please ?
I need to recieve data from my arduino mega via wifi using the ESP8266-based Nodemcu, how can I realize this ? any help please

카테고리

Help CenterFile Exchange에서 Specifying Target for Graphics Output에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by