On Startup and when I click on functions: Error using eval undefined function 'workspacefunc' for input arguments of type 'struct'
63 次查看(过去 30 天)
显示 更早的评论
I have just installed today the Matlab R2017a version. When I open Matlab I get this pop-up: 'Error using eval undefined function 'workspacefunc' for input arguments of type 'struct''. Also when I click at other the functions this pop-up appears. So I 'cannot' use Matlab.
Beside, I get in the Command Window a lot of warnings.
if true
% code
endWarning: C:\Program Files\MATLAB\R2017a\toolbox\local\pathdef.m not found.
Toolbox Path Cache is not being used. Type 'help toolbox_path_cache' for more
info
Undefined function or variable 'ispc'.
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: 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'.
> In matlabrc (line 141)
Warning: Initializing MATLAB Graphics failed.
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 variable 'ismac'.
> In hgrc (line 163)
In matlabrc (line 147)
Warning: Failed to add default profiler filters.
> In matlabrc (line 156)
Undefined function or variable 'rmiml.getAll'.
Undefined function or variable 'rmiml.visibleInToolstrip'.
Undefined function or variable
'internal.matlab.desktop.editor.getSystemObjectInfo'.
Undefined function or variable 'rmiml.visibleInToolstrip'.
I typed down : restoredefaultpath;matlabrc and this helps. But I have to do it every time I startup Matlab. Moreover the warnings in the Command Window doesn't go away, so I don't know what influence that could have on my typed code.
Thanks in advance.
0 个评论
回答(1 个)
Wilson A N
2017-5-9
This error may be because of permission issues with the pathdef.m file. You may be able to resolve the issue by trying out the steps in the following link:
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!