Thread safety of Matlab engine API

前端 未结 4 699
名媛妹妹
名媛妹妹 2020-12-06 02:43

I have discovered through trial and error that the MATLAB engine function is not completely thread safe.

Does anyone know the rules?

Discovered through trial

4条回答
  •  既然无缘
    2020-12-06 03:30

    You can use engOpenSingleUse instead of using engOpen to make more than one thread working separately. (Only Windows)

提交回复
热议问题