Communicating over UDP from MATLAB and Simulink
MATLAB and Simulink support UDP communication through Instrument Control Toolbox. UDP (User Datagram Protocol) is used to connect to remote software applications and can also be used to communicate with instruments.
Communicate with Applications using UDP
You can use MATLAB to communicate with remote applications not developed in MATLAB using UDP support provided by Instrument Control Toolbox. You can use Simulink to communicate with remote applications using Simulink blocks provided by the toolbox. These blocks enable you to query an application using UDP to incorporate live data into your model and to send live data from your Simulink model to an application using UDP.
Communicate with Instruments using UDP
Instrument Control Toolbox enables MATLAB to control, configure, and transfer data with instrumentation over UDP. Once data is in MATLAB, you can analyze and visualize the data for tasks such as signal processing, statistical analysis, digital filtering, and curve fitting. You can also create graphical interfaces for collecting and analyzing your data and automating tests.
Simulink can communicate with instruments over UDP using the Simulink blocks provided by the toolbox. These blocks enable you to query an instrument using UDP to incorporate live data into your model and to send live data from your Simulink model to an instrument using UDP.