Interface Simulink and WebSocket

2 visualizaciones (últimos 30 días)
Igor BRAESCH
Igor BRAESCH el 24 de Abr. de 2018
Respondida: Luca Maria Castiglione el 25 de Abr. de 2018
Hello everyone,
I am currently developing a web-app to send instruction to Simulink in Real-Time. As the TCP and UDP communication are not available from the browser (Chrome or Firefox) but only the WebSocket interface, i was wondering if is possible to interact with WebSocket (actually only reading) within Simulink with some equivalent of the UDP or TCP Receive block. Or should I implement the communciation with the S-Function feature ?
Any help is welcome, and so is any suggestion ! Thank you,
Igor

Respuestas (1)

Luca Maria Castiglione
Luca Maria Castiglione el 25 de Abr. de 2018
Hej, I am faceing the same issue of you. The only solution I found until this moment is this code [1] but it seems not working properly on matlab R2018a [2].
Did you find anything else, meanwhile?
[1] https://github.com/jebej/MatlabWebSocket/ [2] https://github.com/jebej/MatlabWebSocket/issues/9

Categorías

Más información sobre Simulink en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by