issues with sound file output Simulink

2 次查看(过去 30 天)
hi,
I am trying to get a wave file out of a system I have created, using the Sound File Output. After I run the simulation, I try to find the created wave file, but it's nowhere to be found. I tried looking up info about the block but I didn't have mush luck. In the block there is something that puzzled me though...
it says: "For this S-function to work, libsndfile.dll must either be in the same directory as the S-function or on the Windows path."
I am guessing that 'this S-Function' refers to the block itself, but what does the rest mean? how can I find out where the S-Function is located or which the Windows path is?
Thank you and regards

采纳的回答

tony karamp
tony karamp 2013-2-21
Thank you for your time to reply,
but actually I replaced the Sound File Output block to the To Multimedia File and everything is working smoothly!
Thanks

更多回答(1 个)

Kaustubha Govind
Kaustubha Govind 2013-2-21
Is 'Sound File Output' from a custom library? It doesn't look like something that ships with Simulink. You might need to get the dependency file libsndfile.dl from the vendor of the block and either place it in the current MATLAB working directory, or place it in any other location and add that directory path to the Windows PATH variable.

类别

Help CenterFile Exchange 中查找有关 Code Generation and Deployment 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by