MATLAB Answers

how to use threads in matlab app designer

조회 수: 26(최근 30일)
Kfir Weissman
Kfir Weissman 2021년 6월 29일
댓글: Raymond Norris 2021년 7월 1일
i want to execute 2 function in parallel

답변(2개)

Bruno Luong
Bruno Luong 2021년 6월 29일
Many MATLAB stock functions are not thread safe, they are not suitable for multi-thread run. This is MATLAB limitation one cannot do anything about it.

Raymond Norris
Raymond Norris 2021년 7월 1일
Do you have Parallel Computing Toolbox? If so, consider looking at parfeval.
  댓글 수: 2
Raymond Norris
Raymond Norris 2021년 7월 1일
Run the following to see if you already have it installed.
license('test','distrib_computing_toolbox')
If you don't have it, go to the Add-On Explorer and search for "Parallel Computing Toolbox". Click on the 1st link (should be the correct on) and then Install. If you run into issues, contact Support (support@mathworks.com).

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by