Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Matlab errors in initialization

  1. Mar 23, 2012 #1
    My Matlab was fine, until one day these messages started appearing on the console when I start Matlab:

    Warning: MATLAB Toolbox Path Cache is out of date and is not being used.
    Type 'help toolbox_path_cache' for more info
    Undefined function or method 'mpower' for input arguments of type 'struct'.
    Warning: MATLAB did not appear to successfully set the search path. To avoid this
    warning the next time you start MATLAB, use
    http://www.mathworks.com/access/helpdesk/help/techdoc/ref/pathdef.shtml [Broken]
    to help troubleshoot the "pathdef.m" file. To recover for this session
    of MATLAB, type "restoredefaultpath;matlabrc".
    Warning: Duplicate directory name: C:\Program Files\MATLAB\R2010a\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:UndefinedFunction
    Undefined function or method 'colordef' for input arguments of type 'double'.
    > In matlabrc at 102
    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 or method 'usejava' for input arguments of type 'char'.
    > In matlabrc at 125
    Warning: Failed to add default profiler filters.

    What is this? And why did these messages start appearing out of nowhere?
    Also, functions like quad just don't exist. I can't use them and I can't even find them in the function browser. I just re-installed Matlab, but the same thing is happening...
     
    Last edited by a moderator: May 5, 2017
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted



Similar Discussions: Matlab errors in initialization
  1. Matlab Error (Replies: 1)

  2. Error code in Matlab (Replies: 3)

Loading...