MATLAB: Play audio/picture/video or anything

opening a file

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

Best Answer

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