フィルターのクリア

Parfor failure: cannot load object of class 'cSapModeL'. Its class cannot be found.

6 ビュー (過去 30 日間)
IB Ugur
IB Ugur 2020 年 3 月 2 日
回答済み: Edric Ellis 2020 年 3 月 3 日
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?

回答 (1 件)

Edric Ellis
Edric Ellis 2020 年 3 月 3 日
You need the code for the class cSapModel to be available on the workers. The following might help:
addAttachedFiles(gcp(), 'cSapModel')

カテゴリ

Help Center および File ExchangeParallel for-Loops (parfor) についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by