play audio/picture/video or anything

1 次查看(过去 30 天)
function testing(a)
if a == 1
play audio file at c:\user....audio.mp3
open image file at c:\user.....image.png
end
thanks!

采纳的回答

Walter Roberson
Walter Roberson 2014-2-2
See imread() and image() or imshow(). See audioread() and audioplayer()

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by