how to use threads in matlab app designer

32 visualizzazioni (ultimi 30 giorni)
Kfir Weissman
Kfir Weissman il 29 Giu 2021
Commentato: Raymond Norris il 1 Lug 2021
i want to execute 2 function in parallel

Risposte (2)

Bruno Luong
Bruno Luong il 29 Giu 2021
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 il 1 Lug 2021
Do you have Parallel Computing Toolbox? If so, consider looking at parfeval.
  2 Commenti
Kfir Weissman
Kfir Weissman il 1 Lug 2021
Where can i download this toolbox?
Raymond Norris
Raymond Norris il 1 Lug 2021
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).

Accedi per commentare.

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by