Parfor failure: cannot load object of class 'cSapModeL'. Its class cannot be found.
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Dear MATLAB users,
I'm using OAPI codes of FEM software SAP2000 v21 interactively with MATLAB 2017b. I aim to reduce computation time by using parallel computing with parfor. However, i get a warning as:
Warning: Cannot load an object of class 'cSapModel':
Its class cannot be found.
> In parallel.internal.pool.deserialize (line 29)
In parallel.internal.pool.deserializeFunction (line 12)
In remoteParallelFunction (line 19)
How can i solve this trouble?
0 Kommentare
Antworten (1)
Edric Ellis
am 3 Mär. 2020
You need the code for the class cSapModel to be available on the workers. The following might help:
addAttachedFiles(gcp(), 'cSapModel')
0 Kommentare
Siehe auch
Kategorien
Mehr zu Data Type Identification finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!