issues with sound file output Simulink

2 vues (au cours des 30 derniers jours)
tony karamp
tony karamp le 21 Fév 2013
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

Réponse acceptée

tony karamp
tony karamp le 21 Fév 2013
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

Plus de réponses (1)

Kaustubha Govind
Kaustubha Govind le 21 Fév 2013
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.
  1 commentaire
tony karamp
tony karamp le 21 Fév 2013
Thank you for your reply

Connectez-vous pour commenter.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by