matlab打开后报错,无法正常运行怎么办

今天打开MATLAB就出现了这样的错误,什么脚本都打不开……

java.lang.RuntimeException: Dynamic exception type: class std::runtime_error
std::exception::what: Did not start the server. Desired port was: 31515. Last error was: Failed to start server: 127.0.0.1:31614

at com.mathworks.matlabserver.connector.impl.ConnectorImpl.doNativeEnsureServiceOn(Native Method)
at com.mathworks.matlabserver.connector.impl.ConnectorImpl.doEnsureServiceOn(ConnectorImpl.java:230)
at com.mathworks.matlabserver.connector.api.Connector.ensureServiceOn(Connector.java:150)
at com.mathworks.mde.liveeditor.widget.rtc.ConnectorFactory$3.run(ConnectorFactory.java:72)
at com.mathworks.mvm.exec.MatlabRunnableRequest$2.call(MatlabRunnableRequest.java:56)
at com.mathworks.mvm.exec.MatlabCallableRequest.call(MatlabCallableRequest.java:103)
这该怎么解决呢?