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 件のコメント

Jan
Jan 2018 年 4 月 26 日
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 2018 年 4 月 26 日
i didn't change any thing just writing some codes for my program

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

 採用された回答

Jan
Jan 2018 年 4 月 26 日
編集済み: Jan 2018 年 4 月 26 日

0 投票

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 件のコメント

Hajer Najah
Hajer Najah 2018 年 4 月 26 日
it gives Undefined function or variable 'restoredefaultpath'.
Walter Roberson
Walter Roberson 2018 年 4 月 26 日
Hajer Najah
Hajer Najah 2018 年 4 月 26 日
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 2018 年 4 月 26 日
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 2018 年 4 月 26 日
Yes, I do mean deleting the contents of the directory. It appears to be corrupt.
Hajer Najah
Hajer Najah 2018 年 4 月 26 日
it doesn't solve the problem. Any other suggestions, Please ?
Walter Roberson
Walter Roberson 2018 年 4 月 26 日
You will probably need to reinstall.
Hajer Najah
Hajer Najah 2018 年 4 月 27 日
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 2018 年 4 月 27 日
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 2018 年 4 月 27 日
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 2018 年 4 月 27 日
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 2018 年 4 月 28 日
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 についてさらに検索

質問済み:

2018 年 4 月 26 日

コメント済み:

2018 年 4 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by