필터 지우기
필터 지우기

Callback function triggering to get streaming data from TCP/IP object in MATLAB GUI?

조회 수: 4 (최근 30일)
Let say we have a host and a remote computer where the remote computer is streaming data in real-time via TCP/IP to the host computer which has MATLAB running to receive the data. In MATLAB GUI how should I define a callback function to be able to be triggered while a new packet of data is received in the TCP/IP object?
I do not want to use timer function because it is not reliable to receive all the data.
Do you have any suggestion?
Maybe I could use listeners for this but I don't know how to implement it for this aim.
Also maybe simulink is another option helping me to do this but I don't know if it can be executed while MATLAB GUI is also running. https://se.mathworks.com/help/instrument/building-simulink-models-to-send-and-receive-data.html
Any help is greatly appreciated :)

답변 (1개)

Walter Roberson
Walter Roberson 2018년 4월 29일

카테고리

Help CenterFile Exchange에서 Development Computer Setup에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by