Maximum number of clients reached

8 views (last 30 days)
Mary
Mary on 12 Oct 2020
Answered: Liz on 4 Jan 2024
Hi
I can execute my .m files without any errors but the figures are not displayed and I keep having the error that I attach below.
Matlab was working fine since today but I changed one small thing: one of the path adress was not valid anymore and Matlab was complaining about that. So I did edit pathdef.m and changed manually the problematic path. The path related message is not displaying anymore but I started receiving the error message. I open Matlab from bash. At the same time that I have the error message in the command window (the one being attached here), the message that "Maximum number of clients reached" is displayed on bash. Matlab is only open on my computer.
I dont know if this message has something to do with the fact that I manually changed one of the paths. I tried to turn off my computer and restart Matlab and after that Matlab was performing well for few hours. However, after that it started showing again the error message. So, your help will be appreciated a lot as having this message is so annoying and turning off the computer is not a solution.
Regards,
Mary

Answers (2)

Steven Lord
Steven Lord on 12 Oct 2020
How many figures are you trying to have open simultaneously? If that number is large, do you need to have them all open at the same time?
  1 Comment
Mary
Mary on 12 Oct 2020
I don't think that problem comes from that. The reasons are following:
1) for 2 years I was running the same code which was dealing with dozens of figure and I've never had this problem.
2) in order to make sure that the problem is not linked to the number of figures, I just executed 10 lines of my code (where not a huge number of parameters were defined) and there was only one figure to be displayed and Matlab showed me the same error. So, only an empty figure poped up. After I copied and pasted the script for that special figure in the command line and Matlab displayed it correctly.

Sign in to comment.


Liz
Liz on 4 Jan 2024
Hello,I facing the same problem. Did you find a solution?

Categories

Find more on Loops and Conditional Statements 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!