https://www.mathworks.com/help/slrealtime/ug/target-to-development-computer-communication-using-tcp.html
Target to Development Computer Communication by Using TCP - MATLAB & Simulink
Use TCP blocks to send data from the target computer to MATLAB running on the development computer.
computer communicationtargetdevelopmentusingtcp