Why do I get these errors in Toolbox package? Help me out
2 次查看(过去 30 天)
显示 更早的评论
The files the error throws shows no contents inside[1]
But these are the following errors I get:
Attempt to execute SCRIPT nargout as a function:
C:\Program Files\MATLAB\R2012b\toolbox\compiler\mcr\matlab\lang\nargout.m
Error in path (line 115)
if nargout==1, p = matlabpath; end
Error in addpath (line 87)
path(p, mp);
Error in run (line 10)
addpath(genpath(pwd));
0 个评论
采纳的回答
Steven Lord
2020-9-19
The MCR directories in the directory for MATLAB Compiler should not be on the MATLAB path. If you've added toolbox\compiler\mcr to the path, I recommend removing it.
4 个评论
Steven Lord
2020-9-20
No, do not delete it. Remove it from the MATLAB path using pathtool (or the "Set Path" button in the Environment section on the Home tab of the Toolstrip.)
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Search Path 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!