Running multiple commands at the same time

How do you make multiple commands run at the same time? I am trying to get an LED to light up at the same time as a buzzer sounding. I can only get it to run the code in order so it lights up the LED, turns it off, then sounds the buzzer. I would like the LED to light up and the buzzer to sound at the same time.

1 个评论

Please show your code to light the LED and your code to sound the buzzer.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by