Function Running in the Background

Asked by Jordi Riba on 21 Aug 2012
Latest activity Answered by Jordi Riba on 29 Aug 2012

Hello, I have a function which is constantly updating my folder with data from our network, however, when I run it I loose control of my command window, since I cannot input any other order. I can open another Matlab and then can keep working while my data is being updated, but this is not the correct way. Any ideas? Later on I will build a GUI to operate the whole thing, but at the moment I have to do everything by calling m-files and input names throught the command window. Thanks in advance. Jordi

0 Comments

Jordi Riba

Products

2 Answers

Answer by Titus Edelhofer on 21 Aug 2012
Accepted answer

Hi,

usually such things can be done using the function

timer

You might think of timer as an "interrupt" called periodically by MATLAB.

Titus

0 Comments

Titus Edelhofer
Answer by Jordi Riba on 29 Aug 2012

Hallo Titus,

Thanks for the answer, it worked !!!

sorry for the late reply.

Jordi

0 Comments

Jordi Riba

Contact us