Home > Archive > Matlab > August 2005 > How to pause three M-Files with different waiting cycles?
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 |
How to pause three M-Files with different waiting cycles?
|
|
|
| I have a Matlab GUI which executes three M-Files i a different
execution cycle.
E.g. the first one uses a one second cycle, the second one a ten
second cycle and the last a 30 seconds cycle.
Trying to execute the gui leads to the problem that the two m-files
using the faster cycles wait as long as the slowest one.
I use these three m-files to compute data from an opc server in
different time intervals.
I tried to use the matlab pause function to do the right timing in
each m-file but it didn't work properly.
| |
|
| May I use a global timer, which all three M-Files could use?
|
|
|
|
|