Why can't I import audio files to my Simulink model?
9 次查看(过去 30 天)
显示 更早的评论
Hello,
I am running Matlab/Simulink R2018a. I have a Simulink Model and I want to import audio files with the "From Multimedia File"-block. When I try to set the path pointing to my audio file and then press OK I get an error message. I tried it with .wav and .flac but it doesn't work.
Here you can seee the error message:
Does anyone know what to do about this?
0 个评论
回答(1 个)
Jingfang Qu
2018-6-22
Hi,
To better understand your issue, could you try the following steps:
1. Create a blank Simulink Model
2. Insert the "From MultiMedia File" block to your Simulink Model
3. Double click the " From MultiMedia File" block, in the file name area, use Browse to choose the audio file you want to import.
4. Click Apply, then click OK.
If you still get the same error, could you try some different audio files? For example, some sample audio files from the website. Make sure the file is on your MATLAB search path. For more information regarding supported platforms and file types of "From MultiMedia File", please refer to the following link: https://www.mathworks.com/help/dsp/ref/frommultimediafile.html
Thanks
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Audio Processing Algorithm Design 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!