Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
Re: how to input one character with no "enter" key?
Posted:
May 6, 2012 9:39 AM
|
|
"Matt J" wrote in message <jo5su2$5aj$1@newscl01ah.mathworks.com>... > "itamar luzon" wrote in message <jo5pj8$m4j$1@newscl01ah.mathworks.com>... > > Hi, > > > > I'm trying to make a function that will get input of one character ('u' or 'g'), > > but I don't want that i will need to press "enter" key, because i want to know what was the character and when it's pressed. > > something like "waitforbuttonpress" but to know which character. > > > > also I need a function that make "beep" sound for 10ms at freq=500Hz at a specific volume. > ========== > > There are some File Exchange contributions that look useful. I haven't tried them though. > > > http://www.mathworks.com/matlabcentral/fileexchange/7465-getkey > > http://www.mathworks.com/matlabcentral/fileexchange/25584-soundvolume-set-or-get-the-system-speaker-sound-volume
thanks a lot!!!!
|
|
|
|