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!