For Programmers: Free Programming Magazines  


Home > Archive > Matlab > April 2005 > TimerFcn doesn't stop









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author TimerFcn doesn't stop
Ali AlAli

2005-04-27, 4:03 pm

t = timer('Period',
d,'TasksToExecute',4,'ExecutionMode','fi
xedSpacing');

t.TimerFcn = 'improcess'

start(t)

***********
the code above is working fine .... this code will call improcess
M-File for infinite and that's what i want.
it is working .. but the problem is that I can't stop it ... I tried
stop(t) and other command but nothing happens. it will stop if i
close Matlab program.

Ali
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com