Interface Simulink and WebSocket
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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
0 Commenti
Risposte (1)
Luca Maria Castiglione
il 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
0 Commenti
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!