Actions
Bug #4041
opensynchronization in matlab actor
Start date:
04/30/2009
Due date:
% Done:
0%
Estimated time:
Bugzilla-Id:
4041
Description
The matlab actor starts a new matlab process in preinitialize and closes it in wrapup. Each instance of the actor in a model starts and stops a separate matlab process. However, they all synchronize on a shared object, which prevents concurrent matlab execution.
Ideally, the actors should be able to run concurrently. Why are they synchronized? (Maybe the matlab engine shared library is not thread-safe)?
If they cannot run concurrently, then only one matlab process should be used per JVM.
Actions