Error in getDefaultUserFolder at MATLAB (2012b) startup

15 次查看(过去 30 天)
Hi,
I've recently installed MATLAB on my desktop runnings 64 bit windows 8. While I've successfully installed 2012b on my windows 7 computer, I ran into errors with windows 8.
On start-up, MATLAB displays the following errors:
Cannot find function, getDefaultUserFolder, in library services. Warning: MATLAB did not appear to successfully set the search path. To recover for this session of MATLAB, type "restoredefaultpath;matlabrc". To find out how to avoid this warning the next time you start MATLAB, type "docsearch problem path" after recovering for this session. Warning: Duplicate directory name: C:\Program Files\MATLAB\R2012b\toolbox\local Warning: Initializing Handle Graphics failed in matlabrc. This indicates a potentially serious problem in your MATLAB setup, which should be resolved as soon as possible. Error detected was: MATLAB:undefinedVarOrClass Undefined variable "graphics" or class "graphics.internal.initializeMATLABRoot". Warning: Initializing Java preferences failed in matlabrc. This indicates a potentially serious problem in your MATLAB setup, which should be resolved as soon as possible. Error detected was: MATLAB:UndefinedFunction Undefined function 'usejava' for input arguments of type 'char'.
I found a similar post regarding this error (<http://www.mathworks.com.au/matlabcentral/answers/39976-error-in-getdefaultuserfolder-at-matlab-startup>) but the solution was unsuccessful for me. I tried to edit the matlab.settings file, but I was unable to save the changes.
Any help will be appreciated, apologies if I have left out key information regarding my machine/installation.
- Yuki

采纳的回答

Philip Borghesani
Philip Borghesani 2013-4-18
Do you have Lucid Logix's VirtuMVP installed on your machine? See this question: http://www.mathworks.com/matlabcentral/answers/50741
  1 个评论
Yuki
Yuki 2013-4-19
Thank you very much. Unfortunately, I have an Asrock Motherboard, and wasn't sure about which virtu MVP driver to install instead, so I simply uninstalled it. Performance will probably take a hit, but I'd rather have my MATLAB.
Cheers,
Yuki

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile 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