Cannot run newly installed MATLAB 2017b?

6 views (last 30 days)
Meaghan
Meaghan on 12 Nov 2017
Answered: Steven Lord on 12 Nov 2017
I previously had r2015a installed on my computer and needed to update simulink. When I opened it up, I got this error:
if true
Attempt to execute SCRIPT settings as a function:
C:\User\Documents\MATLAB\settings.m
at com.mathworks.jmi.NativeMatlab.SendMatlabMessage(Native Method)
at com.mathworks.jmi.NativeMatlab.sendMatlabMessage(NativeMatlab.java:259)
at com.mathworks.jmi.MatlabLooper.sendMatlabMessage(MatlabLooper.java:120)
at com.mathworks.jmi.Matlab.mtFeval(Matlab.java:1713)
at com.mathworks.jmi.Matlab.mtEval(Matlab.java:1647)
at com.mathworks.jmi.Matlab.mtEval(Matlab.java:1628)
at com.mathworks.matlabserver.connector.impl.AutoStartImpl$2.run(AutoStartImpl.java:63)
at com.mathworks.matlabserver.connector.impl.AutoStartImpl$TaskListener.mvmChanged(AutoStartImpl.java:200)
at com.mathworks.matlabserver.connector.impl.AutoStartImpl$TaskListener.mvmChanged(AutoStartImpl.java:182)
>> end
I cannot run anything or open any files.

Answers (1)

Steven Lord
Steven Lord on 12 Nov 2017
Rename or remove the script file C:\User\Documents\MATLAB\settings.m.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!