Interface Simulink and WebSocket

조회 수: 2 (최근 30일)
Igor BRAESCH
Igor BRAESCH 2018년 4월 24일
답변: Luca Maria Castiglione 2018년 4월 25일
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

답변 (1개)

Luca Maria Castiglione
Luca Maria Castiglione 2018년 4월 25일
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

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by