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'.
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