Effacer les filtres
Effacer les filtres

Problemes with Matlab compiler

1 vue (au cours des 30 derniers jours)
Sandra Martinez
Sandra Martinez le 9 Juin 2021
I have a srcipt that uses parfor. I have no problems using Matlaba compiler 2021a.
BUt, when I change thse lines (CASE 1):
load('datos tiles/data_tiles.mat')
parpool('local',p)
By (CASE 2):
myCluster = parcluster('local');
myCluster.NumWorkers=p;
myCluster.NumThreads=threads;
parpool('local',p)
The script runs with no problems, but the Matlab compiler is not working. Here p and threads are a variables define in data_tiles.mat, I'm not adding that .mat in the compiler files (in case 1 this works with no problem).
In fact,if a try to compile several time, differents error meseges apears
the log file:
1)Why there is a problem with the compiler when adding those lines?
2) Why the los files changes when repeting the process several times?

Réponses (0)

Catégories

En savoir plus sur MATLAB Compiler dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by