Maximum number of clients reached

8 次查看(过去 30 天)
Mary
Mary 2020-10-12
回答: Liz 2024-1-4
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

回答(2 个)

Steven Lord
Steven Lord 2020-10-12
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 个评论
Mary
Mary 2020-10-12
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.

请先登录,再进行评论。


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

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by