Example Driver blocks for Simulink Hardware Support Packages

Example Driver blocks for LEGO Mindstorm NXT and Arduino support packages
2.3K Downloads
Updated 19 Nov 2025

View License

This submission includes example Driver blocks for LEGO Mindstorm NXT and Arduino support packages.
See this blog posts for more details:
http://blogs.mathworks.com/simulink/2013/04/12/creating-driver-blocks-for-arduino-lego-and-other-targets/

Cite As

Guy Rouleau (2025). Example Driver blocks for Simulink Hardware Support Packages (https://nl.mathworks.com/matlabcentral/fileexchange/41159-example-driver-blocks-for-simulink-hardware-support-packages), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Device Drivers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

SimulinkHardwareTargetDriverExamples/LEGO_light_sensor

SimulinkHardwareTargetDriverExamples/arduino_example

Version Published Release Notes
1.2.0.2

Updated hyperlink in description

1.2.0.1

Updated license

1.2.0.0

Updated link in description

1.1.0.0

Added comments in C code

1.0.0.0