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.

Answers (1)

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.

Categories

Tags

Asked:

on 20 Nov 2015

Answered:

on 20 Nov 2015

Community Treasure Hunt

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

Start Hunting!