Static TLS Problem with mex file

Hello,
i got the "well-known" static TLS problem but not in combination with BLAS but with loading mex function:
Invalid MEX-file '...camusb.mexa64': dlopen: Cannot load any more object with static TLS
So the solution provided here: http://www.mathworks.de/support/bugreports/961964 does not work out. I've already tried that. The strange thing is that this error appeared in the past but restarting matlab was solving it. Now restarting matlab does not solve the problem anymore. My simulink model(from which i want generate code from) was not changed. So i really don't know why i start getting this error.
Any ideas?

댓글 수: 3

Myron Flickner
Myron Flickner 2014년 12월 16일
On 2014a I see the same error if I execute ones(10)*ones(10) in startup.m. Without ones(10)*ones(10) the mex function runs but if you run doc then graf2d2 right after startup you get the BLAS error.
Tolentee
Tolentee 2016년 3월 15일
Hi! Can you share the solution if you get a fix for this problem when loading mex files. Having the same problem.
Abhishek M
Abhishek M 2016년 3월 23일
Am also facing the same problem with a library from Dollar toolbox. Any updates to solve this problem?

댓글을 달려면 로그인하십시오.

답변 (1개)

Zhou Ren
Zhou Ren 2014년 10월 11일

0 개 추천

same here. The previous trick of restarting matlab does not work suddently today...

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

질문:

2014년 8월 6일

댓글:

2016년 3월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by