From: Jose on 9 Jun 2010 11:33 Walter Roberson <roberson(a)hushmail.com> wrote in message <VWNPn.124955$gv4.57406(a)newsfe09.iad>... > Jose wrote: > > > Walter still doesn´t work when i add to my code dbstop if errot, we´ve > > got the same mistake: > > > > ??? Error while evaluating TimerFcn for timer 'timer-1' > > Invalid handle object. > > > > Any idea: > > Do not add > > dbstop if error > > to your code, just type it at the command line and then run your code. > When the problem occurs you will be put into the debugger and able to > see the problem and examine variables to determine what is being looked > at and what values are actually there. Sorry, itdoes not work, my software works like that: 1. run the main program, then a main panel (GUI_1) is coming up. 2. push the start button in the main panel, and another (GUI_2) appear. 3. push the button 1 in (GUI_2), and this button execute a callback to the function proc1 (code that you can see above)... Proc1, is waiting for the data of the acquisition card generated for a master computer (simulate the data). 4. When proc1 in my laptop (slave) get the data, start the object timer, the first iteration is fine because the plots of the data analized is coming up in the GUI_2. 5. the problem is in the second iteration, once it get the new data from the acquisition card, the program is stop here with that error...and nothing happened in my command window...even if I type at the beginning the command : dbstop if error. I hope you understad better how my software works. Is curious, but if i put i while loop, everything is fine, but i need to work with a timer object...because I have to use different fucntions proc1, proc2....proc10, which every one, independientelly call to a function analysis runining in a cluster, which is the server that analize my data from the acquisition card. I hope you understand how my software works.
From: Jose on 9 Jun 2010 13:44 "Jose " <jose.l.vega(a)gmail.com> wrote in message <huoc7i$f8$1(a)fred.mathworks.com>... > Walter Roberson <roberson(a)hushmail.com> wrote in message <VWNPn.124955$gv4.57406(a)newsfe09.iad>... > > Jose wrote: > > > > > Walter still doesn´t work when i add to my code dbstop if errot, we´ve > > > got the same mistake: > > > > > > ??? Error while evaluating TimerFcn for timer 'timer-1' > > > Invalid handle object. > > > > > > Any idea: > > > > Do not add > > > > dbstop if error > > > > to your code, just type it at the command line and then run your code. > > When the problem occurs you will be put into the debugger and able to > > see the problem and examine variables to determine what is being looked > > at and what values are actually there. > > Sorry, itdoes not work, my software works like that: > > 1. run the main program, then a main panel (GUI_1) is coming up. > > 2. push the start button in the main panel, and another (GUI_2) appear. > > 3. push the button 1 in (GUI_2), and this button execute a callback to the function proc1 (code that you can see above)... > Proc1, is waiting for the data of the acquisition card generated for a master computer (simulate the data). > > 4. When proc1 in my laptop (slave) get the data, start the object timer, the first iteration is fine because the plots of the data analized is coming up in the GUI_2. > > 5. the problem is in the second iteration, once it get the new data from the acquisition card, the program is stop here with that error...and nothing happened > in my command window...even if I type at the beginning the command : dbstop if error. > > I hope you understad better how my software works. > > Is curious, but if i put i while loop, everything is fine, but i need to work with a timer object...because I have to use different fucntions proc1, proc2....proc10, which every one, independientelly call to a function analysis runining in a cluster, which is the server that analize my data from the acquisition card. > > I hope you understand how my software works. Walter, thanks for your time, it works now. The problem was a had a function called pause, and it was generating a conflict with the "pause command" of matlab. Now is ok.
First
|
Prev
|
Pages: 1 2 Prev: Matlab Compiler Runtime - memory footprint Next: Matlab help Matlab – VaR |