Unable to use MATLAB : error : "com.mathw​orks.jmi.M​atlabExcep​tion: Error in Connector"

24 views (last 30 days)
com.mathworks.jmi.MatlabException: Error in Connector: Did not start the server. Desired port was: 31515. Last error was: Failed to start server: 127.0.0.1:31614
at com.mathworks.jmi.NativeMatlab.SendMatlabMessage(Native Method)
at com.mathworks.jmi.NativeMatlab.sendMatlabMessage(NativeMatlab.java:273)
at com.mathworks.jmi.MatlabLooper.sendMatlabMessage(MatlabLooper.java:120)
at com.mathworks.jmi.Matlab.mtFeval(Matlab.java:1731)
at com.mathworks.matlabserver.connector.impl.ConnectorImpl.doEnsureServiceOn(ConnectorImpl.java:219)
at com.mathworks.matlabserver.connector.api.Connector.ensureServiceOn(Connector.java:137)
at com.mathworks.mde.editor.plugins.editordataservice.IsEditorExecutingFeature.setMessageService(IsEditorExecutingFeature.java:89)
at com.mathworks.mde.editor.plugins.editordataservice.IsEditorExecutingFeature.access$100(IsEditorExecutingFeature.java:22)
at com.mathworks.mde.editor.plugins.editordataservice.IsEditorExecutingFeature$2.run(IsEditorExecutingFeature.java:52)
at com.mathworks.mvm.exec.MatlabRunnableRequest$2.call(MatlabRunnableRequest.java:56)
at com.mathworks.mvm.exec.MatlabCallableRequest.call(MatlabCallableRequest.java:102)

Answers (1)

Namit Joshi
Namit Joshi on 3 Feb 2022

Categories

Find more on Install Products 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!