Startup Problem with 2015b with error "Unable to read file 'matlab.mat'. No such file or directory."

Startup Problem with the following error: Warning: Executing startup 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:load:couldNotReadFile
Unable to read file 'matlab.mat'. No such file or directory. > In matlabrc (line 230)

 채택된 답변

Can you post the complete error in case it is different to the one below?
Warning: Executing startup 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:load:couldNotReadFile Unable to read file 'matlab.mat': no such file or directory. > In matlabrc at 191
Moreover, another error was shown if I executed "load" comment,
Error using load Unable to read file 'matlab.mat': no such file or directory.
Do you have a sartup.m file somewhere and if yes, what is in it?

댓글 수: 2

That is the currently repeatable error.
Here is my 'startup.m':
function startup
% Copyright 2015 The MathWorks, Inc.
%
% Parameters that can be set in text file (config.txt)
%
% Nsites
% ResultFile
% SnapshotDir
% CalibrationFile
% DisplayWarnings
% Teams: List of teams separated by a comma
%
fid = fopen('config.txt','r');
if (fid > 0)
data = textscan(fid,'%s%s', 'Delimiter', '=', 'CommentStyle', '#');
data = [data{:}]';
fclose(fid);
data(:,cellfun(@isempty, data(2,:))) = [];
if any(strcmpi(data(1,:),'Teams'))
data(2,strcmpi(data(1,:),'Teams')) = ...
textscan(data{2,strcmpi(data(1,:),'Teams')},'%s','Delimiter',',');
end
else
data = {};
end
% Launch judge
judge_control(data{:})
I'm on Mac running the latest versions of:
OS X El Capitan (10.11.3); XCode (7.2), and Java 8 Update 71 (build 1.8.0_71-b15).
That startup.m appears to be left over from the Mars Rover Competition or similar. Remove it or rename it.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

질문:

2016년 1월 31일

댓글:

2016년 2월 1일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by