please help, i got this errors when i opened matlab and i cant write any function in commaned window, it gives undefined function 'buildin', besides i cant open my .m file it gives Undefined function or variable 'true'. and doesn't respond to "run" or any other action like X (exit) i use matlab 2015b on windows 7. please help me as possible fast as you can
Undefined function or variable 'matlabrc'.
Undefined function or variable 'which'.
Undefined function or variable 'rmiml.getAll'.
Undefined function or variable 'fschange'.
Undefined function or variable 'rmiml.visibleInToolstrip'.
Undefined function or variable 'rmiml.visibleInToolstrip'.
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at com.mathworks.mlwidgets.graphics.ModelStateFactory.createNoSelectionModelState(ModelStateFactory.java:251) at com.mathworks.mlwidgets.graphics.PlotToolSetFactory$3.parseComplete(PlotToolSetFactory.java:123) at com.mathworks.mlwidgets.graphics.ModelStateFactory$ProductInfoListener$1$1.run(ModelStateFactory.java:1032) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$200(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) >> thanks in advance

2 comentarios

Jan
Jan el 26 de Abr. de 2018
When did the problem occur? Immediately after installing or did you change something before? In the latter case, what did you change?
Hajer Najah
Hajer Najah el 26 de Abr. de 2018
i didn't change any thing just writing some codes for my program

Iniciar sesión para comentar.

 Respuesta aceptada

Jan
Jan el 26 de Abr. de 2018
Editada: Jan el 26 de Abr. de 2018

0 votos

Undefined function or variable 'matlabrc'
This is evil. Try to run restoredefaultpath. See https://www.mathworks.com/help/matlab/ref/restoredefaultpath.html
If this does not work, consider to restore the Matlab folder from your backup - you do have a backup, don't you? See e.g. the "Previous version" under Windows. Or re-install Matlab.

12 comentarios

Hajer Najah
Hajer Najah el 26 de Abr. de 2018
it gives Undefined function or variable 'restoredefaultpath'.
Walter Roberson
Walter Roberson el 26 de Abr. de 2018
Hajer Najah
Hajer Najah el 26 de Abr. de 2018
i am sorry Jan, but i am new on matlab and i dont know if i have backup or not? and where can i found it? thanks in advance
Hajer Najah
Hajer Najah el 26 de Abr. de 2018
Walter Roberson Do you mean deleting the matlabprefs folder?
there is another version of matlab i had been installed it before, Do you think that it cause the problem?
Walter Roberson
Walter Roberson el 26 de Abr. de 2018
Yes, I do mean deleting the contents of the directory. It appears to be corrupt.
Hajer Najah
Hajer Najah el 26 de Abr. de 2018
it doesn't solve the problem. Any other suggestions, Please ?
Walter Roberson
Walter Roberson el 26 de Abr. de 2018
You will probably need to reinstall.
Hajer Najah
Hajer Najah el 27 de Abr. de 2018
could you help , please? when i am trying to reinstal, there is another problem while installing cause the failure of installation? error detected while installing 3u/icu_win32 input/output error thanks in advance
Walter Roberson
Walter Roberson el 27 de Abr. de 2018
It looks like you are using the 32 bit version of MATLAB, which is fine for R2015b (but R2015b was the last 32 bit release.)
I am not finding any matches on the error fragment you posted. Is there more to the error message?
Hajer Najah
Hajer Najah el 27 de Abr. de 2018
thanks Walter for your answer, i solved the problem, and now facing another problem which is asking for an activation key that i already have it as .dll file and .lic file, actually i don't know on which folder of matlab folders should i put them? thank you so much for every help, i really appreciate
Walter Roberson
Walter Roberson el 27 de Abr. de 2018
MATLAB does not use .dll for activations. You should contact Mathworks for free installation support. You do not need a support contract for that; you just have to tell them your license information.
Hajer Najah
Hajer Najah el 28 de Abr. de 2018
thanks for every one answered me, the problem resolved when re installed the program, and i still need you in another problem of out of memory error of my matlab program thanks

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Preguntada:

el 26 de Abr. de 2018

Comentada:

el 28 de Abr. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by