Run function in background-- Similar to background Threading in C#
Show older comments
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)
Guillaume
on 20 Nov 2015
0 votes
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
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!