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 个评论

When did the problem occur? Immediately after installing or did you change something before? In the latter case, what did you change?
i didn't change any thing just writing some codes for my program

请先登录,再进行评论。

 采纳的回答

Jan
Jan 2018-4-26
编辑:Jan 2018-4-26
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 个评论

it gives Undefined function or variable 'restoredefaultpath'.
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
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?
Yes, I do mean deleting the contents of the directory. It appears to be corrupt.
it doesn't solve the problem. Any other suggestions, Please ?
You will probably need to reinstall.
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
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?
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
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.
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

请先登录,再进行评论。

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by