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)

 Respuesta aceptada

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 comentarios

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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 31 de En. de 2016

Comentada:

el 1 de Feb. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by