How to Transfer Data Between More than 2 Computers Using MatLab?
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Levi Waldron
am 6 Nov. 2020
Beantwortet: Mohammad Sami
am 9 Nov. 2020
Is there an easy way to communicate information between multiple computers at the same time? Ideally, I'd like it to work consistently with 3 or more devices, but it won't always be the same couple devices trying to connect.
3 Kommentare
Mohammad Sami
am 7 Nov. 2020
Perhaps you can use a web server stack such as WAMP. You can program a rest API in PHP and store the state in My SQL. The clients can get the data from API using MATLAB webread and send the data using webwrite.
https://www.mathworks.com/help/matlab/ref/webread.html
https://www.mathworks.com/help/matlab/ref/webwrite.html
Akzeptierte Antwort
Mohammad Sami
am 9 Nov. 2020
A second potential option for you would be to use Jeremy's MatlabWebSocket from File exchange.
One of the matlab instance can create the Websocket server, the rest can create Websocket clients.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Web Services 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!