Project

General

Profile

Actions

Bug #4041

open

synchronization in matlab actor

Added by Daniel Crawl over 15 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
actors
Target version:
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

Also available in: Atom PDF