Static TLS Problem with mex file

2 views (last 30 days)
Timotheus
Timotheus on 6 Aug 2014
Commented: Abhishek M on 23 Mar 2016
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 Comments
Tolentee
Tolentee on 15 Mar 2016
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 on 23 Mar 2016
Am also facing the same problem with a library from Dollar toolbox. Any updates to solve this problem?

Sign in to comment.

Answers (1)

Zhou Ren
Zhou Ren on 11 Oct 2014
same here. The previous trick of restarting matlab does not work suddently today...

Community Treasure Hunt

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

Start Hunting!