Clear Filters
Clear Filters

Error while trying to connect to matlab from eclipse

1 view (last 30 days)
I am trying to access matlab from Java in eclipse IDE. I am getting the attached error when I try to get the current shared session of Matlab. Can anyone please help me in solving this error?
Thanks, Shruthi
  1 Comment
Sonam Gupta
Sonam Gupta on 8 Dec 2017
  • Try adding "connector.ensureServiceOn" to the beginning of the startup.m
  • Does the workspace have any user defined file named 'settings.m'? If yes, rename this to something else as it takes precedence over the settings.m file of MATLAB.

Sign in to comment.

Answers (0)


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!