MATLAB: What ports does a Simulink Real-Time target use to communicate with the host

What network ports does a Simulink Real-Time target use to communicate with the host ?

Best Answer

The Simulink Real-Time target uses multiple ports to communicate and exchange essential information with the host. This is required for full normal functionality.
The list of ports will vary depending upon the contents and functionality implemented in the model and will change from release to release. You may consider allowing these ports through your firewall or VPN security configuration if you intend to access a Simulink Real-Time target remotely:
The following is an example of the ports the target currently uses in R2020b:
20-23,65532-65535, 5505,5506,5507,5510,5511,5512,5515,5516,5517,5555