Hello Mateus,
I see that you are getting License related error and unable to connect to licensed server.
Please note that, this error message indicates that there is a problem resolving the hostname of the license manager machine. The license server's hostname must be resolvable for MATLAB to connect to it.
For instructions to resolve this error, please see the link below provided by MathWorks Support Team:
I hope it helps!