Interface Simulink and WebSocket

2 Ansichten (letzte 30 Tage)
Igor BRAESCH
Igor BRAESCH am 24 Apr. 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

Antworten (1)

Luca Maria Castiglione
Luca Maria Castiglione am 25 Apr. 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

Kategorien

Mehr zu Simulink finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by