Borrar filtros
Borrar filtros

Matlab Error: graphic

49 visualizaciones (últimos 30 días)
dario cecchetti
dario cecchetti el 3 de Nov. de 2017
Comentada: Walter Roberson el 4 de Sept. de 2020
Hi everybody,I was running simulink, but after some second my pc stucked. Then I shutted down the pc brutally. When I opened Matlab, I saw the following warning:
Warning: Initializing MATLAB Graphics failed.
This indicates a potentially serious problem in your MATLAB setup, which should
be resolved as soon as possible. Error detected was:
MATLAB:load:unableToReadMatFile
Unable to read MAT-file
C:\Users\cecch\AppData\Roaming\MathWorks\MATLAB\R2017a\matlabprefs.mat. File
might be corrupt.
> In hgrc (line 163)
In initprefs (line 11)
In matlabrc (line 137)
What should I do?

Respuesta aceptada

Walter Roberson
Walter Roberson el 3 de Nov. de 2017
I recommend deleting C:\Users\cecch\AppData\Roaming\MathWorks\MATLAB\R2017a\matlabprefs.mat . After that you will need to go in and reconfigure any preferences you had changed, such as how things dock, or hot-keys, or which warning messages you want the automatic syntax checker to look for.
  7 comentarios
Prince Ogbodum
Prince Ogbodum el 4 de Sept. de 2020
I can't seem to find the folder Appdata, what might be wrong??
Walter Roberson
Walter Roberson el 4 de Sept. de 2020
If you still have a working-enough MATLAB, then give the command
prefdir
to find the name of the directory.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by