TCP/IP Socket Communications in MATLAB
Provides an example Server / Client written in MATLAB that utilises the ability to call Java inline to perform message communication using TCP/IP.
Importantly it does not require any pre-compiled DLLs or force you to compile some MEX c-files. Nor does it require any additional toolboxes Its all contained within the .m files.
To use the example:
- Start 2 instances of MATLAB
- in the first execute the following:
message = char(mod(1:1000, 255)+1);
server(message, 3000, 10)
- in the second execute the following:
data = client('localhost', 3000)
For more details see:
http://iheartmatlab.blogspot.com/2008/08/tcpip-socket-communications-in-matlab.html
인용 양식
Rodney Thomson (2026). TCP/IP Socket Communications in MATLAB (https://kr.mathworks.com/matlabcentral/fileexchange/21131-tcp-ip-socket-communications-in-matlab), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
플랫폼 호환성
Windows macOS Linux카테고리
- MATLAB > Data Import and Analysis > Data Import and Export > Hardware and Network Communication > TCP/IP Communication >
태그
도움
도움 준 파일: A simple UDP communications application, TCP/IP Socket Communications in MATLAB using Java Classes, jtcp(actionStr,varargin)
| 버전 | 게시됨 | 릴리스 정보 | |
|---|---|---|---|
| 1.0.0.0 |
