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)

 Risposta accettata

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 Commenti

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.

Accedi per commentare.

Più risposte (0)

Categorie

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by