Parfor problem --- "Array construction from ByteBuffer Threw an exception"
Ältere Kommentare anzeigen
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 Kommentare
Edric Ellis
am 21 Jul. 2021
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
am 21 Jul. 2021
Walter Roberson
am 21 Jul. 2021
Did you time findgroups()?
Jiashun Wu
am 21 Jul. 2021
Walter Roberson
am 21 Jul. 2021
"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
am 25 Jul. 2021
Akzeptierte Antwort
Weitere Antworten (1)
Bowei Li
am 18 Aug. 2022
0 Stimmen
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.
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!