Play a Tune on Arduino

An early introduction to using S-Functions with Simulink + Arduino.

You are now following this Submission

Play a simple tune on a buzzer using an Arduino. Learn how to integrate existing C-code from the Arduino IDE examples through the S-Function Builder.
Adapted from Simon Monk's "30 Arduino Projects for the Evil Genius" - Project 19.
By:
Esther Ling, Edu Engineer

Cite As

Techsource Technical Team (2026). Play a Tune on Arduino (https://se.mathworks.com/matlabcentral/fileexchange/51983-play-a-tune-on-arduino), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Device Drivers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

Added image to mask.
Updated description.