play a buzzer using arduino

hi i want to know how to play a buzzer with given frequency. previously i installed the latest arduino package to use the " playTone() function,but its says UNDEFINED (im using 2014a version) so are there any method to play a buzzer with given note frequencies ?

Answers (2)

Madhu Govindarajan
Madhu Govindarajan on 16 Apr 2019
Have an arduino connected to MATLAB using a = arduino command. After that, what is the output when you type the following:
methods(a)

Categories

Asked:

on 12 Sep 2016

Answered:

on 16 Apr 2019

Community Treasure Hunt

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

Start Hunting!