MatlabWebSocket is a simple library consisting of a websocket server and client for MATLAB built on Java-WebSocket, a java implementation of the websocket protocol. Encryption is supported with self-signed certificates made with the java keytool.
Please see the documentation on Github:
https://github.com/jebej/MatlabWebSocket
Cite As
Jeremy (2026). jebej/MatlabWebSocket (https://github.com/jebej/MatlabWebSocket), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > External Language Interfaces > Web Services with MATLAB > Call Web Services from MATLAB Using HTTP >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
examples
src
test
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.4.0.0 | - onMessage methods now receive fragmented messages (they are first collated) |
|
|
| 1.2.0.0 | - The MATLAB central version is at 1.2, which corresponds to the 1.0 release on Github (will fix this).
|
|
|
| 1.1.0.0 | Added a client, renamed the JAR to be more general. Make sure you update the names in the java class path and in your m files!
|
|
|
| 1.0.0.0 |
|
