how to stop a recording process in matlab GUIDE

i have a problem to stop a recording process...i have set the time for
recording is 30 second long..but i cant stop the process in the middle
of recording...i have create a stop push button which still doesnt work
as it should be....can someone help me plzzz...been to mathwork forum
for this..but there is no reply...so im trying over here...hope to get
the answer right...thanks in advance...

0
4/21/2006 5:29:34 PM
comp.soft-sys.matlab 207062 articles. 0 followers. lunamoonmoon (258) is leader. Post Follow

1 Replies
121 Views

Similar Articles

[PageSpeed] 23
Hi Apis

If you use 'wavrecord' as a function for recording process, then you can't stop recording till the specified time has run out. But, if you use 'audiorecorder' and 'record', then it is very simple to do what you intend to. See the explanation of these functions in Matlab's Help. The pushbutton would still exist. Post me you reply if it works well for you.
0
v.milicev (10)
6/23/2006 3:46:58 PM
Reply:
Similar Artilces:

Ftp downloads always stop at last KB
Hi all. I am running mandrake 9.1 with shorewall 1.4.6c, and my problem is that every time I try and do an ftp download it runs fine until the last 2kb, and then hangs. I am on BtOpenworld plugged into an ethernet adsl router. THis is from my firewall and from clients. Has anybody come across this before ? jacob reimann <jacob@spam.me> wrote: > Hi all. > > I am running mandrake 9.1 with shorewall 1.4.6c, and my problem is that > every time I try and do an ftp download it runs fine until the last 2kb, > and then hangs. I am on BtOpenworld plugged into an ethernet a...

Help with SNMP to control (start|stop|restart) unix processes...
Hi: I'll keep the question as simple as I can. You've written a script that accepts as arguments integers 1 to 100, each of which causes the script to produce a different result (say, option 1 kills all java processes). That script is sitting on a Solaris 9 or 10 machine (for purposes of this discussion, say its called: /usr/local/bin/controller.sh). Now you want to configure SNMP server on that machine to be able to receive a signal from some SNMP client, to launch that script with whatever option you pass it via the SNMP client request (again 1 to 100)... which I assume will be sn...

Stop it Stop it Stop it
All this talk about Oblivion, and here I am, sitting on my hands, waiting for bastardbuy to ship me a freakin' out-of-stock-don't-know-when-more-will-arrive Xbox 360 and Oblivion. I have a good mind to download Oblivion from a torrent and play it on my computer. You're all so insensitive to my pain, so I'm going to have to filter Oblivion posts for now. "Grackle" <nowhere@lalaland.ca> wrote in message news:kRZVf.811$u15.185775@news20.bellglobal.com... > All this talk about Oblivion, and here I am, sitting on my hands, waiting > for bastardbuy t...

Interalia RAN stopped working
I have a Meridian 11c with an Interalia MMU2 for recorded announcements. I currently have only 1 announcement recorded for an ACD queue, the standard "all agents busy, please wait" type of announcement. The announcement recently quit working (last 2 days). The Interalia has power, and the message exists. MSG1 is "turned on" in Interalia display. No wiring changes have been made. Stat of trunk card in LD 32 shows the RAN as idle. I tried the ACOD of the RDB for the RAN and get a fast busy. Any ideas? I'm really stuck here.... Thanks in advance. Sounds like...

Cadence InterProcess Communication
Cadence InterProcess Communication - "hiSetBindKey freeze the Child Process" In my earlier post I cannot send data in my child process because I have set a binding. Then I tried to another solution. First I place all the data that I will send to my child process in a skill list. Then I have unset the binding. Then I tried to send the contents of my skill list in my child process and I am successful. Does hiSetBindKey freeze the Child Process? Please comment. Domo Arigato Gozaimasu! (^^_)v Best regards, charkle_kline > Cadence InterProcess Communication - "hiSetBindKe...

Variable-Scope of Embedded MATLAB Functions
Hi, i have an embedded MATLAB function with this header: function w = fxLMS(x, e, mu, gamm, zero_ctrl) x,e, mu and gamm are normal inputs. zero_ctrl is a Parameter (you can see that by clicking on Tools\Edit Data/Ports in the Embedded MATLAB Editor). I want to find out wether an input is a normal input or a parameter over the command line. Has anyone an idea how to do that? I can read the script like this: http://www.mathworks.com/support/solutions/en/data/1-1XIY8J/?solution=1-1XIY8J but i don't find something like a parameter list. Bye, Simon. I found out that these pa...

meaning of "child processes are reaped"
Hello folks, not very experienced with interprocess communication and not a native English speaker I would like to know what the meaning of the expression "child processes are reaped" is. I encountered it in connection with Perl's waitpid-function. Could somebody explain this term? Cheers Bernd bernd <bew_ba@gmx.net> wrote in comp.lang.perl.misc: > Hello folks, > > not very experienced with interprocess communication and not a native > English speaker I would like to know what the meaning of the expression > "child processes are reaped" is. ...

Find Record Button?
I have been able to set up a Find Record Button on my switchboard to take me to a form with the correct case number by using a parameter query and macro. When I try to run the Find Record button from the macro on the form I want to find the record in it just sits there and does not run. Could someone tell me how to fix this? Please be specific as I am new to Access. Thanks alot for all the help. I am making alot of progress in learning this program. Not sure I understand your problem. Are you running the "Find Record" macro from a command button on your form? If not, how? L...

How to use Matlab do control firewire camera?
I had been using NI-IMAQdx to communicate with two of my prosilica 1394 DCAM 1.31 cameras (before being bought by AVT) for quite some time without any problems. Now I want to try matlab (2010a) image acquisition tool box. I followed the instruction and installed the CMU 1394 Digital Camera Driver, but the demo program could not recognize either one. Then I tried to install the driver manually by select property->update->...>hard disk->1394Camera.inf. However, a pop-up window showed that the driver was not compatible. I'm using windows 7 64-bit, and I think the CMU 6.4.5 does su...

How to stop a thread without using stop()
There is a thread which calls just ONE METHOD. The problem is the method can work for 1 sec to more than 10minutes. I have to stop if the thread work for more than 10 secs and I don't have the source of the method - but, I have to use the method. Thread.stop() method is deprecated.. So, I tried using interrupt() method, but it did not work. Then how can the thread be stopped without using stop() ?? Thank you. -- ** Son KwonNam Please DO NOT reply to this message's email address. The address is fake. Son KwonNam wrote: > The problem is the method can work for 1 sec to more th...

Checking proper SPF record
--f46d04426a60276cd304fdb1492b Content-Type: text/plain; charset=UTF-8 Hi, I have a mail server that manages mail for about ten domains, using bind-9.9.4-12.P2 on fedora20. I'd like to make sure my SPF record in my SOA is set up correctly, and hoped someone could help. Currently I have the following: $TTL 1d @ IN SOA ns.example.com. admin.ns.example.com. ( 2011041707 ;serial (yyyymmddxx) 3h ;refresh every 3 hours 1h ;retry every 1 hr 7d ;expire in 7 days ...

thread crashes on stop
Hi: I'm trying for the first time to use threads in my program, and I have some basic problem. The thread sample works fine on my system (wxMac 2.4.2 on MacOSX 10.3.4), and as this is the first time I program in threads, it is likely I'm doing something wrong. My thread class is called "SThread" and is derived from wxThread as follows: #include "SThread.h" SThread::SThread() : wxThread() { //no initialization to do } void *SThread::Entry() { while (1) { wxThread::Sleep(100); if ( TestDestroy() ) b...

Is there a guide to Intel CPU and chipset nicknames?
Prescott, Northwood .. It's all a common dialect here. To an occasional reader, it's hard to keep these straight. Is there a web site or document that has a handy reference for the various historical nicknames for Intel cpu's and chipsets? -- Aloke ---- to reply by e-mail remove 123 and change invalid to com Here is one cheatsheet. There are many more do some googling. http://www.anandtech.com/cpuchipsets/showdoc.aspx?i=2118 This one does not go back to the beginning but covers prescott, and norwood. Good luck >>>>> "Aloke" == Aloke Prasad <...

guide: about set and get
I'm making GUI (using guide) for my project. On my 'OPEN' button I have: function openbutton_Callback(hObject, eventdata, handles) % hObject handle to openbutton (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) proyek = guidata(gcbo); [filename,direktori] = uigetfile({'*.jpg';'*.bmp';'*.png';'*.tif'},'Open File'); I=imread(filename); set(proyek.figure1,'CurrentAxes',proyek.axes1); set(imshow(I)); set(proyek.axes1, 'Userdata', I...

Access 97 bogus duplicate records
I have been working with an A97 database that performs a data processing function. It imports data from a flat text file then uses a dao transaction that executes a number of sql statements (about 30 in all) to append to various tables, delete records, copy from table A to table B etc, ultimately downloading to a series of text files that contain 'processed data'. The issue is that on the odd occasion (this process is executed every business day and this issue occurs roughly once every 2 to 3 months) the process goes totally haywire and some of the tables end up with thousands ...

Matlab Webserver and Database toolbox problems
Hi! Im trying to build an application using matlab webserver and the database toolbox. Both are working fine separetly but when i try to access my mySQL database using code in an m-file for the webserver i get the following error: MATLAB Application Error: Undefined command/function 'fetch' To me this looks like im lacking some path, but i was thinking the webserver is using the same "default" paths as matlab do when it starts up? Does anyone have a solution? Thank you in advance! ...

Re: selecting records #13
Jeri There are a number of ways to write this. You will probably also get some sql answers. dATA JERI; INPUT NUM NAME $ MONTH $ POSITION $ ; CARDS; 1 Mary Jan Officer 2 John Jan Manger 3 John Jan Officer 4 Brent Feb Director RUN; PROC PRINT DATA = JERI; RUN; Proc Sort data = jeri ; by name month; run; Data wanted; set jeri; by name month; if first.month + last.month = 2 then delete; run; Proc print data = wanted; run; Nat Wooding Environmental Specialist III Dominion, Environmental Biology 4111 Castlewood Rd Richmond, VA 23234 Phone:804-271-53...

Stopping pkgrm
Hi, I am currently creating my own packages. I have a need for the abilit to stop a package from being removed (ie stop pkgrm from removing file etc). Does anybody know how? TIA Regards Pau -- Relex ----------------------------------------------------------------------- Relexx's Profile: http://unixadmintalk.com/80 View this thread: http://unixadmintalk.com/showthread.php?t=25909 On Tue, 16 Jan 2007 20:08:56 -0800, Relexx <Relexx.2kswxn@no-mx.unixadmintalk.com> wrote: >Hi, > >I am currently creating my own packages. I have a need for the ability >to stop a pac...

Access Scalability
Do I get more scalability if I split my database? The way I calculate things now, I'll be lucky to get 100,000 records in my Access 2003 mdb. Here some math: Max mdb/mde size = 2000 x 1024 = 2,048,000k Let's say on average each record in the database consumes 15k 2,048,000/15 = 136,533 records Tables, forms, queries, etc. take up about 5,125k 2,048,000 - 5,125 = 2,042,875k 2,042,875/15 = 136,191 records Realistically, I don't want to get that close to the edge, so let's lop off 500mg. That leaves 1,530,875k 1,530,875/15 = 102,058 records Does this sound right? &q...

ThinkPadA31p CPU Cooling Fan runs non stop
Hi Everyone, I'm having problem in ThinkPad A31p with Mobile Intel Pentium 4 processor (2GHz). The processor cooling fan runs non stop even when frequency (temperature) of the CPU drops down. Fan starts few seconds after starting the computer and runs constantly until system shutdown. I have installed Win XP SP2 system on this computer. Previously I had TP A30 with Mobile Intel 1GHz (Win 2k) where CPU cooling fan was adjusting its RPM based on the CPU frequency (temperature) Is it a hardware problem or any additional driver will solve the problem in my TP A31p? Any help or su...

Overclocking Guide
Correct Overclocking - The Goals First and foremost, we want to * improve overall system performance * system to be just as stable * keep our CPU alive!! The best way to improve system performance is to increase the bus speed. If you can't do that, either because your motherboard doesn't support higher bus speeds or your RAM or your PCI devices aren't up to it, you can change the multiplier instead. Don't expect much gain in performance, however, if you increase the multiplier but you decrease the bus speed!!! For example, changing from 166 @ 2.5x66 MHz to 180 @ 3...

World of Warcraft Guide: Guide to Raising Blacksmith Skill 1-300
You will want to equip yourself and your friends as your skill rises. Study the lists of weapons and armors you will be able to make, and the materials they require, in the summaries I have posted on page one of this thread at http://forums.worldofwarcraft.com/thread.aspx?fn=wow-professions&t=1&p=1 If you keep your skill at 25 plus five times your level then you will always be able to make items you can equip at their minimum level. Outside of the items you make because you want to, or to fulfill the Blacksmith quests, there are a series of minimum-material or minimum- cost items you ...

how can I stop this msg??
dear all, I got the following "warning" msg from the user news: Jan 29 22:01:00 redhat su(pam_unix)[7964]: session opened for user news by (uid=0) Does anybody know what is happening in my redhat 9.0 system? thansk sam sam <samwun@hgcbroadband.com> wrote: > dear all, > I got the following "warning" msg from the user news: > Jan 29 22:01:00 redhat su(pam_unix)[7964]: session opened for user news by > (uid=0) > Does anybody know what is happening in my redhat 9.0 system? Sounds like fetchnews running from /etc/cron.daily/leafnode. Simply remov...

splitting the record on field difference basis...
Dear all I have a file(# delimiter) with records like... Name # Id # received amount # masteramount Jason # 137 # 235.00 # 468.00 Jack # 709 # 700.00 # 350.00 James # 555 # 1000.00 # 300.00 I want to split the records into to two by exceeding amount, where the difference between the 3rd and 4th field is excess. When amount is excess the third field should be replaced with 4th field... The required file is.. Name # Id # received amount # masteramount Jason # 137 # 235.00 # 468.00 Jack # 709...

dsp simulation problem using matlab
hi , i hope this the right forum for this type of questions: please i really need help in solving this problem: A random process is defined by x(t) =3D A cos(2*pi*f0*t+=CE=A6), 0=E2=89=A6= t=E2=89=A7T, where A and f0 are constants and =CE=A6 is uniformly distribut= ed random variable in the range -pi=E2=89=A6=CE=A6=E2=89=A7pi . Generate sa= mples (at the rate fs=3D80kHz ) over a time interval of length T. Choose th= e signal length T so that you get about 900 to 1000 samples of the simulate= d analog signal x(t). i)Plot the time signal with the function plot so that the samples are ...