Effacer les filtres
Effacer les filtres

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

4 vues (au cours des 30 derniers jours)
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 :)

Réponses (1)

Walter Roberson
Walter Roberson le 29 Avr 2018

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by