how to use websocket to send binary data?

3 vues (au cours des 30 derniers jours)
rumin diao
rumin diao le 22 Fév 2023
Commenté : rumin diao le 16 Mar 2023
i have an front end project and the back end needs to transmit binary data to it by websocket. is there any chance to transmit binary data by matlab?
thanks a lot

Réponse acceptée

Prathyusha Appalla
Prathyusha Appalla le 15 Mar 2023
Hi,
I understand that you want to transmit binary data from back-end to front-end by websocket and you are looking to implement it using MATLAB.
Using MatlabWebSocket this may be achieved. It is a simple library built on Java-Websocket. You can find more information and a code example in the following link. Using this you can make connection and send/receive data over websocket.
  1 commentaire
rumin diao
rumin diao le 16 Mar 2023
thank you! i will have a try

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by