What is an LAPACK loading error when using polyfit?

5 ビュー (過去 30 日間)
Susan
Susan 2014 年 2 月 19 日
回答済み: Steven Lord 2023 年 2 月 2 日
I'm trying to run a simple polyfit command and I get the following error:
Error using gr;
LAPACK loading error;
dlopen cannot load any more object with static TLS;
I'm using R2013b on a RedHat 6 linux machine.
Anyone know what's going on?
Thanks!
Susan

回答 (2 件)

Praveen Palanisamy
Praveen Palanisamy 2015 年 2 月 12 日
Hi Susan,
This is known to be a problem in some 64 bit Linux environments when Matlab does not load all necessary libraries at startup. In case you haven't solved the problem yet or for those facing the same issue, here is the solution that has been known to work: Create a startup.m script with the following content:
ones(10)*rand(10);
Place the script in the directory from where you launch matlab.This will force matlab to load the necessary library files and you should no longer face the problem.
  1 件のコメント
Bohao
Bohao 2023 年 2 月 2 日
I used this but it did not work. Do you know any reason?

サインインしてコメントする。


Steven Lord
Steven Lord 2023 年 2 月 2 日
There are two Bug Reports that look potentially relevant to this situation. One was fixed in release R2014b and the other in release R2016a so you may want to try upgrading to release R2016a or later.

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by