필터 지우기
필터 지우기

issues with sound file output Simulink

조회 수: 2 (최근 30일)
tony karamp
tony karamp 2013년 2월 21일
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