Using TCP-IP to Communicate Between Two Instances of MATLAB
Here I step through how I implemented communication between two MATLAB instances on two different machines. One MATLAB (the server) stores a 40GB data set that I want another MATLAB web app (the client) to access. This avoids the web app having to re-load this large data set each time. It uses the TCP-IP object in the Instrument Control Toolbox. MATLAB only provides a TCPIP client; not a server. (The audio is a bit out of sync with the video in this one again, but you can only see it in the small picture-in-picture.)
Features covered in this video include:
- tcp-ip object
- fopen, fread, fwrite, fscanf
Play the video in full screen mode for a better viewing experience.
댓글을 남기려면 링크 를 클릭하여 MathWorks 계정에 로그인하거나 계정을 새로 만드십시오.