play audio/picture/video or anything

function testing(a)
if a == 1
play audio file at c:\user....audio.mp3
open image file at c:\user.....image.png
end
thanks!

 Accepted Answer

See imread() and image() or imshow(). See audioread() and audioplayer()

More Answers (0)

Community Treasure Hunt

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

Start Hunting!