com.mathworks.jmi.MatlabException: Error starting MATLAB Connector. Please check that port 31515 is available.

mathworks.com | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    "Error using connector.ensureServiceOn" when clicking "Get Add-Ons" - MATLAB Answers - MATLAB Central

    mathworks.com | 7 months ago
    com.mathworks.jmi.MatlabException: Error starting MATLAB Connector. Please check that port 31515 is available.
  2. 0

    Can't Get The matlabpool Started

    Stack Overflow | 1 year ago | 3yanlis1bos
    com.mathworks.jmi.MatlabException: Attempt to reference field of non-structure array.

    Root Cause Analysis

    1. com.mathworks.jmi.MatlabException

      Error starting MATLAB Connector. Please check that port 31515 is available.

      at com.mathworks.jmi.NativeMatlab.SendMatlabMessage()
    2. com.mathworks.jmi
      MatlabWorker.feval
      1. com.mathworks.jmi.NativeMatlab.SendMatlabMessage(Native Method)
      2. com.mathworks.jmi.NativeMatlab.sendMatlabMessage(NativeMatlab.java:266)
      3. com.mathworks.jmi.MatlabLooper.sendMatlabMessage(MatlabLooper.java:120)
      4. com.mathworks.jmi.Matlab.mtFevalConsoleOutput(Matlab.java:1778)
      5. com.mathworks.jmi.MatlabWorker.feval(MatlabWorker.java:195)
      6. com.mathworks.jmi.MatlabWorker.feval(MatlabWorker.java:172)
      6 frames
    3. com.mathworks.addons
      ConnectorFactory$1.runOnMatlabThread
      1. com.mathworks.addons.ConnectorFactory$1.runOnMatlabThread(ConnectorFactory.java:37)
      1 frame
    4. com.mathworks.jmi
      NativeMatlab.dispatchMTRequests
      1. com.mathworks.jmi.MatlabWorker$2.run(MatlabWorker.java:79)
      2. com.mathworks.jmi.NativeMatlab.dispatchMTRequests(NativeMatlab.java:475)
      2 frames