Parfor problem --- "Array construction from ByteBuffer Threw an exception"
이전 댓글 표시
Hi! I run my code using the 'parfor' function BUT receive an error message:
- Array construction from ByteBuffer Threw an exception.
I am wondering what does this message mean in simple language? Any simple example could be great!
Thanks for your help!
댓글 수: 6
Edric Ellis
2021년 7월 21일
This is an unexpected internal error. Can you provide simple reproduction steps? (Or you could contact MathWorks support directly for help with this).
Jiashun Wu
2021년 7월 21일
Walter Roberson
2021년 7월 21일
Did you time findgroups()?
Jiashun Wu
2021년 7월 21일
Walter Roberson
2021년 7월 21일
"I want to separate table records into different groups (in cells) based on the value of a variable (e.g., "varname_a"),"
G = findgroups(varname_a) ;
Tablename_cell = splitapply(@(x) {x}, Tablensme, G);
Jiashun Wu
2021년 7월 25일
채택된 답변
추가 답변 (1개)
Bowei Li
2022년 8월 18일
0 개 추천
Hi, I run into this error when using parfor as well. I found there was a undefined variable in my parfor loop. To check it, you may change your parfor to for, run it, and see what it says.
카테고리
도움말 센터 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!