Can't run programs with plots "Error using gca"

Everytime I try to run a program that has a plot, I get an error like this
Error using gca
Can't reload 'C:\Program Files\MATLAB\R2015b\bin\win32\handle_graphics.dll'
Error in hold (line 34)
ax = gca;
Error in PredictorSmithP4 (line 20)
hold on;
This happens only with my laptop. But this is the first time it happens, so I don't think it's a memory problem since it has worked properly before.
Just in case, it has 2 GB of RAM which should be enough for MATLAB 2015b.

7 件のコメント

Walter Roberson
Walter Roberson 2018 年 7 月 7 日
Are you using Dell?
madhan ravi
madhan ravi 2018 年 7 月 7 日
Please post the code.
Walter Roberson
Walter Roberson 2018 年 7 月 7 日
The code does not matter for the series of "Can't reload" that has been seen on MS Windows. There was a problem on Dell systems related to backup, and it is thought there are probably some problems related to anti-virus.
Eduardo Buendia
Eduardo Buendia 2018 年 7 月 7 日
No I'm not using Dell and I'm using Norton AV. Tried reinstalling and I still get the same error.
Like Walter said, I doubt it's program related. It happens with every single program I try to run.
Walter Roberson
Walter Roberson 2018 年 7 月 7 日
I am going through and tagging a number of "can't reload" posts. There are patterns developing on Linux, but nothing clear on Windows. I see hints that you might be missing a library that handle_graphics.dll depends on.
Eduardo Buendia
Eduardo Buendia 2018 年 7 月 8 日
Well, apparently it had something to do with Windows' registry. As dumb as it sounds, running CCleaner's registry cleaner fixed the problem. Probably a shared DLL issue like you said. Thank you.
Walter Roberson
Walter Roberson 2018 年 7 月 8 日
When I was searching, I did see one site claiming the problem had to do with bad registry entries, but since the site was pushing a particular commercial registry cleaner (one that I had not heard of either), I considered the claim to be unreliable.

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

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeProgramming についてさらに検索

製品

リリース

R2015b

質問済み:

2018 年 7 月 7 日

コメント済み:

2018 年 7 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by