TCP/IP distributed waitbar
This waitbar was first designed to be used for distributed computing with the Parallel Computing Toolbox™ but can be used independently.
classWaitbardist uses 2 other MATLAB custom classes, classTCPIPSender and classTCPIPReceiver, that both rely on JAVA sockets (in communication.jar).
These 2 classes are used to commmunicate between several MATLAB applications over the network. They are NON BLOCKING as they create JAVA threads.
Typically, one application will act as a server that receive info and other applications will act as clients that will send info.
The flow of info is unidirectional in the implementation: Info goes from the client to server. It is a design choice but feel free to use classTCPIPSender and classTCPIPReceiver as starters for your own purpose. Just give a feedback.
The serialization of MATLAB data is made via temporary MAT file creation.
Cite As
Christophe Pouillot (2024). TCP/IP distributed waitbar (https://www.mathworks.com/matlabcentral/fileexchange/23728-tcp-ip-distributed-waitbar), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Data Import and Analysis > Data Import and Export > Hardware and Network Communication > TCP/IP Communication >
- Test and Measurement > Instrument Control Toolbox > Interface-Based Instrument Communication >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.