Hi,
Everything worked fine before I created my first script and stored it in another folder and tried to run it. Then I could not run anything. The system is Win 8.1 64bit. I re-installed, nothing changed. Here's the message:
Warning: MATLAB did not appear to successfully set the search path. To recoverfor this session of MATLAB, type "restoredefaultpath;matlabrc". To find out howto avoid this warning the next time you start MATLAB, type "docsearch problempath" after recovering for this session. Warning: Initializing Java preferences failed in matlabrc.This indicates a potentially serious problem in your MATLAB setup, which shouldbe resolved as soon as possible. Error detected was:MATLAB:UndefinedFunctionUndefined function 'usejava' for input arguments of type 'char'. > In matlabrc (line 121) Warning: Initializing MATLAB Graphics failed.This indicates a potentially serious problem in your MATLAB setup, which shouldbe resolved as soon as possible. Error detected was:MATLAB:UndefinedFunctionUndefined function or variable 'ismac'. > In hgrc (line 163) In matlabrc (line 127) Warning: Failed to add default profiler filters. > In matlabrc (line 136) Warning: Initializing preferences failed in matlabrc.This indicates a potentially serious problem in your MATLAB setup, which shouldbe resolved as soon as possible. Error detected was:MATLAB:scriptNotAFunctionAttempt to execute SCRIPT feature as a function:C:\Users\****\Documents\MATLAB\feature.m > In matlabrc (line 165) Undefined function or variable 'setInitialWorkingFolder'.Error in matlabrc (line 197)setInitialWorkingFolder();
Best Answer