play audio/picture/video or anything

2 views (last 30 days)
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

Walter Roberson
Walter Roberson on 2 Feb 2014
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!