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.

답변 (1개)

Guillaume
Guillaume 2015년 11월 20일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

질문:

2015년 11월 20일

답변:

2015년 11월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by