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 ExchangeStartup 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