Run function in background-- Similar to background Threading in C#

Is there a way to run a matlab function in background wihtout interfering with the main program, similar to background threading in C or C# ? Eg: Background real-time data acquisition.

Respuestas (1)

Guillaume
Guillaume el 20 de Nov. de 2015
Yair Altman has written several blog posts on the subject. part 2 shows you how to do it with .Net threads.
Note that this relies on you writing the threading part in java/posix/.Net. If you want to do it purely in matlab, you will need the parallel processing toolbox as matlab is single threaded otherwise.

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 20 de Nov. de 2015

Respondida:

el 20 de Nov. de 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by