Error while trying to connect to matlab from eclipse

2 views (last 30 days)
Hello,
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)

Categories

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

Tags

Community Treasure Hunt

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

Start Hunting!