play audio/picture/video or anything

1 回表示 (過去 30 日間)
keith lin
keith lin 2014 年 2 月 2 日
回答済み: Walter Roberson 2014 年 2 月 2 日
function testing(a)
if a == 1
play audio file at c:\user....audio.mp3
open image file at c:\user.....image.png
end
thanks!
  1 件のコメント
Jan
Jan 2014 年 2 月 2 日
What is your question?

サインインしてコメントする。

採用された回答

Walter Roberson
Walter Roberson 2014 年 2 月 2 日
See imread() and image() or imshow(). See audioread() and audioplayer()

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAudio and Video Data についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by