jebej/MatlabWebSock​et

A simple WebSocket library for Matlab.

https://github.com/jebej/MatlabWebSocket

You are now following this Submission

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 .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
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).
- The server is now be able to be closed and restarted on the same port
- WebSocketSecure (wss) is now supported via self-signed certificates

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!
Also wrapped the java objects in handles to avoid possible memory leaks.

1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.