error while launching matlab, error when trying to open scripts (.m files) and error close all in R2017b

4 views (last 30 days)
Hello,
I'm having several issues with Matlab 2017b:
1) when opening I get this:
com.mathworks.jmi.MatlabException: Invalid default value for property 'Impl' in class 'connector.internal.ConnectorManager':
wrong number of arguments. Project must be given as argument.
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)
2) if I don't have the "editor" window open and I double click in a script script (.m file) that is in the "Current Folder" window or if I actually go to that folder using windows file explorer and double click there to open in Matlab, I get the following error:
However, if I use Matlab "Open" recent drop-down menu in the "Home" tab, I can open the script (because it is still there in the memory from before), and after this I can open any other script by dragging it from the "Current Folder" window to the "Editor" window. But can't still open it if double click in the "Current Folder" window in folder where the script is.
3) the said scripts start with a clear all and close all function calls but close is giving an error. I've seen this in another thread and ran the command line which -all close, and got:
C:\Program Files\MATLAB\R2017b\toolbox\matlab\graphics\close.p
C:\Program Files\MATLAB\R2017b\toolbox\shared\asynciolib\+asyncio\Channel.m % asyncio.Channel method
close is a built-in method % asyncioimpl.Channel method
close is a Java method % com.mathworks.mde.desk.MLDesktop method
close is a Java method % com.mathworks.widgets.desk.Desktop method
C:\Program Files\MATLAB\R2017b\toolbox\matlab\iofun\@ftp\close.m % ftp method
C:\Program Files\MATLAB\R2017b\toolbox\matlab\serial\@serial\close.m % serial method
C:\Program Files\MATLAB\R2017b\toolbox\simulink\simulink\upgradeadvisor\@UpgradeAdvisor\close.p % UpgradeAdvisor method
C:\Program Files\MATLAB\R2017b\toolbox\instrument\instrument\@icdevice\close.m % icdevice method
C:\Program Files\MATLAB\R2017b\toolbox\shared\instrument\@instrument\close.m % instrument method
C:\Program Files\MATLAB\R2017b\toolbox\sl3d\sl3d\@vrworld\close.m % vrworld method
C:\Program Files\MATLAB\R2017b\toolbox\sl3d\sl3d\@vrspacemouse\close.m % vrspacemouse method
C:\Program Files\MATLAB\R2017b\toolbox\sl3d\sl3d\@vrjoystick\close.m % vrjoystick method
C:\Program Files\MATLAB\R2017b\toolbox\sl3d\sl3d\@vrfigure\close.m % vrfigure method
C:\Program Files\MATLAB\R2017b\toolbox\symbolic\symbolic\@mupad\close.m % mupad method
The suggestion I saw to solve 3) was to reinstall the software but this is what I have been doing for a few days until I had another problem resolved early this week (this thread: https://uk.mathworks.com/matlabcentral/answers/462845-out-of-memory-and-unable-to-save-pathdef-m?s_tid=mlc_ans_email_view#answer_375631), and it has just been reinstalled on Monday. I actually wonder if these issues could even be related to that previous thread?
Any thoughts on what could be the orgin of these problem and how to solve them?
Many thanks,
Andreia

Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!