You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
The default UDP blocks in R2015a's Simulink Arduino Support Package can transmit and receive scalar bytes of data. This entry expands this functionality to enable the user to transmit and receive arrays of data where the type is an integer.
The supported data types are {uint8, int8, uint16, int16, uint32, int32}.
This entry supports Windows, Linux and Mac.
Install:
To install this entry, run the included .mltbx file.
Documentation and Examples:
For examples showing how to use the blocks, see the "Supplemental Software" section of the main doc page. There will be link called "Arduino UDP Ethernet Shield" .
To see the files directly, navigate to Home->Add-Ons->Manage Custom Toolboxes->Open Folder
Dependencies:
This toolbox also provides a custom toolbox "Pack and Unpack Data", containing the packData and unpackData functions which convert an array of integers into an array of bytes and vice-versa. This is used on the desktop computer to translate integers into bytes and vice-versa for communication via UDP.
The Instrument Control Toolbox is necessary to receive and transmit UDP data from the Desktop Computer.
Cite As
MathWorks Student Competitions Team (2026). Arduino Udp Ethernet Shield (https://se.mathworks.com/matlabcentral/fileexchange/52578-arduino-udp-ethernet-shield), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Device Drivers, Pack and Unpack Data
Inspired: Getting Started Guide RoboNation
Categories
Find more on Instrument Control Toolbox Supported Hardware in Help Center and MATLAB Answers
General Information
- Version 15.2.1.1 (506 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 15.2.1.1 | Updated license |
|
|
| 15.2.1.0 | Fixed a Sample Time bug found in R2015b.
|
||
| 15.1.1.0 |
|
