The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Is it possible to create 'beep' sound from within c-mex s-function?
Replies: 2   Last Post: Jul 7, 2013 2:23 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Kate J.

Posts: 177
Registered: 6/9/11
Is it possible to create 'beep' sound from within c-mex s-function?
Posted: Jul 5, 2013 11:26 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I have a c-mex s-function that I would like to generate a beep (or similar warning/alert sound) as a user interacts with it. The regular Matlab 'beep' command causes an error when compiled. From my searches, I see that this has been asked by others previously, but I haven't encountered any answers to this question. I don't see this issue mentioned in the Matlab documentation.

I believe it also may be possible to play a .wav or other audio file on command, if a simple beep function/sound isn't available; however, my searches of the documentation haven't revealed how to do this, either.

Thanks in advance for your help!

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.