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.