4

Is it possible in matlab to call a function when the program I'm running is idle? I don't want this to be a parallel process. Also, I would prefer a solution where I could pause and resume the function when the main program has to run again. Kind of like an interrupt in embedded systems, in my case the main program is the interrupt.

how would I do this?

mugetsu
  • 4,228
  • 9
  • 50
  • 79

1 Answers1

0

you could use a timer object to start / stop the second function. see the matlab documentation. See also this mathworks blog entry.

memyself
  • 11,907
  • 14
  • 61
  • 102