PARFOR Transparency violation error when using jcitest
古いコメントを表示
I am trying to run some simulations that involves using using Johnansen's test, but I always receive a transparency violation error. I prepared a minimal working example of the problem below. Is there something about the jcitest() function which makes it impossible to use in a parfor loop? Is there a way to solve that problem?
p = 4;
parfor i=1:2
y = [cumsum( randn(100,1) ), cumsum( randn(100,1) )];
[h1,~,~,~,~] = jcitest(y, 'model', 'H1*', 'lags', p-1, ...
'test', 'trace', 'display', 'off');
end
3 件のコメント
Raymond Norris
2020 年 11 月 3 日
I don't get any transparency violation errors. Could you rerun your example to ensure it does or update the example to highlight the error?
Stéphane Surprenant
2020 年 11 月 3 日
Stéphane Surprenant
2020 年 11 月 16 日
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Parallel Computing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!